vfs

Macro attributes

Source
macro_rules! attributes {
    ($requested:expr,
     Mutable {$($mut_a:ident: $mut_v:expr),* $(,)?},
     Immutable {$($immut_a:ident: $immut_v:expr),* $(,)?}) => { ... };
}
Expand description

Helper for building fio::NodeAttributes2givenrequestedattributes. Code will only run forrequested` attributes.

Example:

attributes!( requested, Mutable { creation_time: 123, modification_time: 456 }, Immutable { content_size: 789 } );