pub struct TargetMissed { /* private fields */ }Expand description
An unsuccessful Fetcher process result, where the target was not reached.
Note that the caller can still decide if the process was a success based on
the FetchResults.
Implementations§
Source§impl TargetMissed
impl TargetMissed
Sourcepub fn fetch_results(&self) -> &FetchResults
pub fn fetch_results(&self) -> &FetchResults
Get the final FetchResults of the fetcher result.
Sourcepub fn missed_nodes(&self) -> &BTreeSet<PublicKey>
pub fn missed_nodes(&self) -> &BTreeSet<PublicKey>
Get the set of nodes that were missed when attempting to fetch.
Sourcepub fn required_nodes(&self) -> usize
pub fn required_nodes(&self) -> usize
Get the number of nodes that were required to reach the replication target.
Auto Trait Implementations§
impl Freeze for TargetMissed
impl RefUnwindSafe for TargetMissed
impl Send for TargetMissed
impl Sync for TargetMissed
impl Unpin for TargetMissed
impl UnwindSafe for TargetMissed
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> 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