#[non_exhaustive]pub enum VirtualReferenceErrorKind {
Show 15 variants
NoContainerForUrl(String),
CannotParseUrl {
cause: ParseError,
url: String,
},
InvalidCredentials(String),
UnauthorizedVirtualChunkContainer {
url_prefix: String,
name: Option<String>,
},
NoPathSegments(String),
UnsupportedScheme(String),
CannotParseBucketName(String),
UnsupportedObjectKeyForBackend(String),
FetchError(Box<dyn Error + Send + Sync>),
ObjectModified(String),
InvalidObjectSize {
expected: u64,
available: u64,
},
AzureConfigurationMustIncludeAccount,
Decoding(FromUtf8Error),
NoContainerForName(String),
OtherError(Box<dyn Error + Send + Sync>),
}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.
NoContainerForUrl(String)
CannotParseUrl
InvalidCredentials(String)
Fields
NoPathSegments(String)
UnsupportedScheme(String)
CannotParseBucketName(String)
UnsupportedObjectKeyForBackend(String)
FetchError(Box<dyn Error + Send + Sync>)
ObjectModified(String)
InvalidObjectSize
AzureConfigurationMustIncludeAccount
Decoding(FromUtf8Error)
NoContainerForName(String)
OtherError(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Debug for VirtualReferenceErrorKind
impl Debug for VirtualReferenceErrorKind
Source§impl Display for VirtualReferenceErrorKind
impl Display for VirtualReferenceErrorKind
Source§impl Error for VirtualReferenceErrorKind
impl Error for VirtualReferenceErrorKind
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FromUtf8Error> for VirtualReferenceErrorKind
impl From<FromUtf8Error> for VirtualReferenceErrorKind
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<VirtualReferenceErrorKind> for IcechunkFormatErrorKind
impl From<VirtualReferenceErrorKind> for IcechunkFormatErrorKind
Source§fn from(source: VirtualReferenceErrorKind) -> Self
fn from(source: VirtualReferenceErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for VirtualReferenceErrorKind
impl !UnwindSafe for VirtualReferenceErrorKind
impl Freeze for VirtualReferenceErrorKind
impl Send for VirtualReferenceErrorKind
impl Sync for VirtualReferenceErrorKind
impl Unpin for VirtualReferenceErrorKind
impl UnsafeUnpin for VirtualReferenceErrorKind
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
Source§type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
The type of the wrapped error after instrumentation
Source§fn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
Instrument an Error by bundling it with a SpanTrace 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