pub enum BlobLocatorError {
LocalAudience,
UnsafeNamespace {
value: String,
source: PathTokenError,
},
UnsafeBlobId {
value: String,
source: PathTokenError,
},
UnsafeCloudPath {
value: String,
source: PathTokenError,
},
ReservedCloudPath {
value: String,
},
ObjectKeyMismatch {
expected: String,
actual: String,
},
Json(Error),
NonCanonicalEncoding,
}Variants§
LocalAudience
UnsafeNamespace
UnsafeBlobId
UnsafeCloudPath
ReservedCloudPath
ObjectKeyMismatch
Json(Error)
NonCanonicalEncoding
Trait Implementations§
Source§impl Debug for BlobLocatorError
impl Debug for BlobLocatorError
Source§impl Display for BlobLocatorError
impl Display for BlobLocatorError
Source§impl Error for BlobLocatorError
impl Error for BlobLocatorError
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<BlobLocatorError> for RemoteObjectRecordError
impl From<BlobLocatorError> for RemoteObjectRecordError
Source§fn from(source: BlobLocatorError) -> Self
fn from(source: BlobLocatorError) -> Self
Converts to this type from the input type.
Source§impl From<BlobLocatorError> for StorageError
impl From<BlobLocatorError> for StorageError
Source§fn from(source: BlobLocatorError) -> Self
fn from(source: BlobLocatorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlobLocatorError
impl !RefUnwindSafe for BlobLocatorError
impl Send for BlobLocatorError
impl Sync for BlobLocatorError
impl Unpin for BlobLocatorError
impl UnsafeUnpin for BlobLocatorError
impl !UnwindSafe for BlobLocatorError
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