Enum iroh_blobs::downloader::FailureAction
source · pub enum FailureAction {
AllIntentsDropped,
AbortRequest(Error),
DropPeer(Error),
RetryLater(Error),
}
Available on crate feature
downloader
only.Expand description
Signals what should be done with the request when it fails.
Variants§
AllIntentsDropped
The request was cancelled by us.
AbortRequest(Error)
An error occurred that prevents the request from being retried at all.
DropPeer(Error)
An error occurred that suggests the node should not be used in general.
RetryLater(Error)
An error occurred in which neither the node nor the request are at fault.
Trait Implementations§
source§impl Debug for FailureAction
impl Debug for FailureAction
Auto Trait Implementations§
impl Freeze for FailureAction
impl RefUnwindSafe for FailureAction
impl Send for FailureAction
impl Sync for FailureAction
impl Unpin for FailureAction
impl UnwindSafe for FailureAction
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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