validate_user_volumes

Function validate_user_volumes 

Source
pub fn validate_user_volumes(vols: &[Volume]) -> Result<(), VolumeRejection>
Expand description

Validate a slice of user-supplied [Volume] entries against the allow-list. Returns the first rejection encountered.

ยงErrors

Returns VolumeRejection for the first volume that fails any check.