pub enum ManagedDriverFailure {
NoTokioRuntime,
ResourceExhausted {
operation: &'static str,
},
Internal {
message: Arc<str>,
},
}Expand description
Whole-driver failure.
Variants§
Trait Implementations§
Source§impl Clone for ManagedDriverFailure
impl Clone for ManagedDriverFailure
Source§impl Debug for ManagedDriverFailure
impl Debug for ManagedDriverFailure
Source§impl Display for ManagedDriverFailure
impl Display for ManagedDriverFailure
impl Eq for ManagedDriverFailure
Source§impl Error for ManagedDriverFailure
impl Error for ManagedDriverFailure
1.30.0 · 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 PartialEq for ManagedDriverFailure
impl PartialEq for ManagedDriverFailure
impl StructuralPartialEq for ManagedDriverFailure
Auto Trait Implementations§
impl Freeze for ManagedDriverFailure
impl RefUnwindSafe for ManagedDriverFailure
impl Send for ManagedDriverFailure
impl Sync for ManagedDriverFailure
impl Unpin for ManagedDriverFailure
impl UnsafeUnpin for ManagedDriverFailure
impl UnwindSafe for ManagedDriverFailure
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