pub enum ErrorImage {
Integrity,
Unreachable,
NotFound,
InvalidUrn,
Generic,
}Expand description
Which branded error image to show.
Variants§
Integrity
Served bytes failed verification (tampered / decoy). Red security treatment.
Unreachable
No node + gateway reachable. Blue, retryable, with a connect-a-node hint.
NotFound
The resource does not exist.
InvalidUrn
The input was not a resolvable DIG URN (bad URN, or rootless over the gateway).
Generic
Any other failure.
Trait Implementations§
Source§impl Clone for ErrorImage
impl Clone for ErrorImage
Source§fn clone(&self) -> ErrorImage
fn clone(&self) -> ErrorImage
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 moreimpl Copy for ErrorImage
Source§impl Debug for ErrorImage
impl Debug for ErrorImage
impl Eq for ErrorImage
Source§impl PartialEq for ErrorImage
impl PartialEq for ErrorImage
impl StructuralPartialEq for ErrorImage
Auto Trait Implementations§
impl Freeze for ErrorImage
impl RefUnwindSafe for ErrorImage
impl Send for ErrorImage
impl Sync for ErrorImage
impl Unpin for ErrorImage
impl UnsafeUnpin for ErrorImage
impl UnwindSafe for ErrorImage
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