pub enum AdapterError {
Show 14 variants
WorkspaceRequired,
SymlinkEscape {
logical_path: String,
},
Io {
path: PathBuf,
source: Error,
},
Walk(String),
Structured {
path: PathBuf,
message: String,
},
InternalInvariant,
LossyAcceptanceRequired {
path: String,
},
BridgeUnavailable {
path: String,
},
CompatibilityBlocked {
path: String,
},
Render {
path: String,
message: String,
},
BundlePath(BundlePathError),
Bundle(BundleError),
Secret(SecretError),
PathMapping(PathMappingError),
}Variants§
WorkspaceRequired
SymlinkEscape
Io
Walk(String)
Structured
InternalInvariant
LossyAcceptanceRequired
CompatibilityBlocked
Render
BundlePath(BundlePathError)
Bundle(BundleError)
Secret(SecretError)
PathMapping(PathMappingError)
Trait Implementations§
Source§impl Debug for AdapterError
impl Debug for AdapterError
Source§impl Display for AdapterError
impl Display for AdapterError
Source§impl Error for AdapterError
impl Error for AdapterError
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<BundleError> for AdapterError
impl From<BundleError> for AdapterError
Source§fn from(source: BundleError) -> Self
fn from(source: BundleError) -> Self
Converts to this type from the input type.
Source§impl From<BundlePathError> for AdapterError
impl From<BundlePathError> for AdapterError
Source§fn from(source: BundlePathError) -> Self
fn from(source: BundlePathError) -> Self
Converts to this type from the input type.
Source§impl From<PathMappingError> for AdapterError
impl From<PathMappingError> for AdapterError
Source§fn from(source: PathMappingError) -> Self
fn from(source: PathMappingError) -> Self
Converts to this type from the input type.
Source§impl From<SecretError> for AdapterError
impl From<SecretError> for AdapterError
Source§fn from(source: SecretError) -> Self
fn from(source: SecretError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AdapterError
impl !UnwindSafe for AdapterError
impl Freeze for AdapterError
impl Send for AdapterError
impl Sync for AdapterError
impl Unpin for AdapterError
impl UnsafeUnpin for AdapterError
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