pub struct SetMetadata<'a, F: Backend> { /* private fields */ }Expand description
Builder for an atomic metadata update request.
Implementations§
Source§impl<F: Backend> SetMetadata<'_, F>
impl<F: Backend> SetMetadata<'_, F>
pub fn permissions(&mut self, permissions: Permissions) -> &mut Self
pub fn len(&mut self, len: u64) -> &mut Self
pub fn accessed(&mut self, accessed: SystemTime) -> &mut Self
pub fn modified(&mut self, modified: SystemTime) -> &mut Self
pub fn follow_symlinks(&mut self, follow: bool) -> &mut Self
pub fn uid(&mut self, uid: u32) -> &mut Self
pub fn gid(&mut self, gid: u32) -> &mut Self
pub fn apply(&self) -> VfResult<()>
Trait Implementations§
Source§impl<F: Backend> Clone for SetMetadata<'_, F>
impl<F: Backend> Clone for SetMetadata<'_, F>
Auto Trait Implementations§
impl<'a, F> Freeze for SetMetadata<'a, F>
impl<'a, F> RefUnwindSafe for SetMetadata<'a, F>where
&'a FsClient<F>: RefUnwindSafe,
impl<'a, F> Send for SetMetadata<'a, F>
impl<'a, F> Sync for SetMetadata<'a, F>
impl<'a, F> Unpin for SetMetadata<'a, F>
impl<'a, F> UnsafeUnpin for SetMetadata<'a, F>where
&'a FsClient<F>: UnsafeUnpin,
impl<'a, F> UnwindSafe for SetMetadata<'a, F>where
&'a FsClient<F>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more