pub struct GetFolderSizeBuilder<'f1, 'f2, S: State = Empty> { /* private fields */ }Available on crate feature
folder only.Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, 'f2, S: State> GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S: State> GetFolderSizeBuilder<'f1, 'f2, S>
Sourcepub fn call(self) -> Result<u64, Error>where
S: IsComplete,
pub fn call(self) -> Result<u64, Error>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn timeout(
self,
value: Duration,
) -> GetFolderSizeBuilder<'f1, 'f2, SetTimeout<S>>where
S::Timeout: IsUnset,
pub fn timeout(
self,
value: Duration,
) -> GetFolderSizeBuilder<'f1, 'f2, SetTimeout<S>>where
S::Timeout: IsUnset,
Sourcepub fn maybe_timeout(
self,
value: Option<Duration>,
) -> GetFolderSizeBuilder<'f1, 'f2, SetTimeout<S>>where
S::Timeout: IsUnset,
pub fn maybe_timeout(
self,
value: Option<Duration>,
) -> GetFolderSizeBuilder<'f1, 'f2, SetTimeout<S>>where
S::Timeout: IsUnset,
Sourcepub fn parent_max_size(
self,
value: &'f2 mut u64,
) -> GetFolderSizeBuilder<'f1, 'f2, SetParentMaxSize<S>>where
S::ParentMaxSize: IsUnset,
pub fn parent_max_size(
self,
value: &'f2 mut u64,
) -> GetFolderSizeBuilder<'f1, 'f2, SetParentMaxSize<S>>where
S::ParentMaxSize: IsUnset,
Sourcepub fn maybe_parent_max_size(
self,
value: Option<&'f2 mut u64>,
) -> GetFolderSizeBuilder<'f1, 'f2, SetParentMaxSize<S>>where
S::ParentMaxSize: IsUnset,
pub fn maybe_parent_max_size(
self,
value: Option<&'f2 mut u64>,
) -> GetFolderSizeBuilder<'f1, 'f2, SetParentMaxSize<S>>where
S::ParentMaxSize: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, S> Freeze for GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> RefUnwindSafe for GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Send for GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Sync for GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Unpin for GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> UnsafeUnpin for GetFolderSizeBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !UnwindSafe for GetFolderSizeBuilder<'f1, 'f2, S>
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