pub enum RuntimeConstructionError {
BackingAlreadyClaimed,
Directory(DirectoryError),
}Expand description
Construction refuses aliased or malformed backing without resetting it.
Variants§
BackingAlreadyClaimed
Another runtime or detached lease retains custody.
Directory(DirectoryError)
The current owned directory could not be loaded or initialized.
Trait Implementations§
Source§impl Debug for RuntimeConstructionError
impl Debug for RuntimeConstructionError
Source§impl Display for RuntimeConstructionError
impl Display for RuntimeConstructionError
Source§impl Error for RuntimeConstructionError
impl Error for RuntimeConstructionError
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<Error> for RuntimeConstructionError
impl From<Error> for RuntimeConstructionError
Source§fn from(source: DirectoryError) -> Self
fn from(source: DirectoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeConstructionError
impl RefUnwindSafe for RuntimeConstructionError
impl Send for RuntimeConstructionError
impl Sync for RuntimeConstructionError
impl Unpin for RuntimeConstructionError
impl UnsafeUnpin for RuntimeConstructionError
impl UnwindSafe for RuntimeConstructionError
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