pub struct DirectoryStatOptsBuilder { /* private fields */ }Expand description
Builder for DirectoryStatOpts.
Implementations§
Source§impl DirectoryStatOptsBuilder
impl DirectoryStatOptsBuilder
Sourcepub fn do_not_follow_symlinks<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn do_not_follow_symlinks<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
If specified, do not follow symlinks.
Sourcepub fn build(&self) -> Result<DirectoryStatOpts, DirectoryStatOptsBuilderError>
pub fn build(&self) -> Result<DirectoryStatOpts, DirectoryStatOptsBuilderError>
Trait Implementations§
Source§impl Clone for DirectoryStatOptsBuilder
impl Clone for DirectoryStatOptsBuilder
Source§fn clone(&self) -> DirectoryStatOptsBuilder
fn clone(&self) -> DirectoryStatOptsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DirectoryStatOptsBuilder
impl RefUnwindSafe for DirectoryStatOptsBuilder
impl Send for DirectoryStatOptsBuilder
impl Sync for DirectoryStatOptsBuilder
impl Unpin for DirectoryStatOptsBuilder
impl UnsafeUnpin for DirectoryStatOptsBuilder
impl UnwindSafe for DirectoryStatOptsBuilder
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