pub enum ManagedRuntimeError {
Runtime(RuntimeError),
Model(ModelAcquireError),
Server(ServerError),
RelativeCacheRoot(PathBuf),
MissingCacheDirectory,
CacheInspection {
path: PathBuf,
source: Error,
},
}Variants§
Runtime(RuntimeError)
Model(ModelAcquireError)
Server(ServerError)
RelativeCacheRoot(PathBuf)
MissingCacheDirectory
CacheInspection
Trait Implementations§
Source§impl Debug for ManagedRuntimeError
impl Debug for ManagedRuntimeError
Source§impl Display for ManagedRuntimeError
impl Display for ManagedRuntimeError
Source§impl Error for ManagedRuntimeError
impl Error for ManagedRuntimeError
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<ModelAcquireError> for ManagedRuntimeError
impl From<ModelAcquireError> for ManagedRuntimeError
Source§fn from(source: ModelAcquireError) -> Self
fn from(source: ModelAcquireError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for ManagedRuntimeError
impl From<RuntimeError> for ManagedRuntimeError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl From<ServerError> for ManagedRuntimeError
impl From<ServerError> for ManagedRuntimeError
Source§fn from(source: ServerError) -> Self
fn from(source: ServerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ManagedRuntimeError
impl !UnwindSafe for ManagedRuntimeError
impl Freeze for ManagedRuntimeError
impl Send for ManagedRuntimeError
impl Sync for ManagedRuntimeError
impl Unpin for ManagedRuntimeError
impl UnsafeUnpin for ManagedRuntimeError
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