pub struct FailureEntryInspectionRequest { /* private fields */ }Expand description
Owned failure-entry inspection request for async or runtime-specific adapters.
Constructing this request does not perform filesystem I/O. Inspection happens only when
Self::inspect is called.
Implementations§
Source§impl FailureEntryInspectionRequest
impl FailureEntryInspectionRequest
Sourcepub fn new(
root: PersonalCacheRoot,
nonstandard_entry_policy: NonstandardEntryPolicy,
) -> Self
pub fn new( root: PersonalCacheRoot, nonstandard_entry_policy: NonstandardEntryPolicy, ) -> Self
Creates an owned failure-entry inspection request.
Sourcepub fn inspect(self) -> Result<Vec<CacheEntryInspection>>
pub fn inspect(self) -> Result<Vec<CacheEntryInspection>>
Inspects direct files in immediate real failure-entry namespaces.
§Errors
Returns the same errors as PersonalCacheRoot::inspect_failure_entries.
Sourcepub fn into_parts(self) -> FailureEntryInspectionRequestParts
pub fn into_parts(self) -> FailureEntryInspectionRequestParts
Splits this request into its owned parts.
Trait Implementations§
Source§impl Clone for FailureEntryInspectionRequest
impl Clone for FailureEntryInspectionRequest
Source§fn clone(&self) -> FailureEntryInspectionRequest
fn clone(&self) -> FailureEntryInspectionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for FailureEntryInspectionRequest
impl PartialEq for FailureEntryInspectionRequest
Source§fn eq(&self, other: &FailureEntryInspectionRequest) -> bool
fn eq(&self, other: &FailureEntryInspectionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FailureEntryInspectionRequest
impl StructuralPartialEq for FailureEntryInspectionRequest
Auto Trait Implementations§
impl Freeze for FailureEntryInspectionRequest
impl RefUnwindSafe for FailureEntryInspectionRequest
impl Send for FailureEntryInspectionRequest
impl Sync for FailureEntryInspectionRequest
impl Unpin for FailureEntryInspectionRequest
impl UnsafeUnpin for FailureEntryInspectionRequest
impl UnwindSafe for FailureEntryInspectionRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more