Enum lib_gistit::errors::fetch::FetchError [−][src]
#[non_exhaustive]
pub enum FetchError {
ExaustedSecretRetries,
NotFound,
UnexpectedResponse,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExaustedSecretRetries
Unable to get secret right after couple tries
NotFound
Gistit hash doesn’t exist in location
UnexpectedResponse
Unexpected Response
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FetchError
impl Send for FetchError
impl Sync for FetchError
impl Unpin for FetchError
impl UnwindSafe for FetchError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more