pub enum InjectedFailure {
DeviceOutOfMemory {
requested: u64,
available: u64,
},
UnsupportedFeature {
name: String,
},
PoisonedLock {
lock_error: String,
},
InvalidProgram {
fix: String,
},
DispatchFailed {
code: Option<i32>,
message: String,
},
KernelCompileFailed {
compiler_message: String,
},
}Variants§
DeviceOutOfMemory
UnsupportedFeature
PoisonedLock
InvalidProgram
DispatchFailed
KernelCompileFailed
Trait Implementations§
Source§impl Clone for InjectedFailure
impl Clone for InjectedFailure
Source§fn clone(&self) -> InjectedFailure
fn clone(&self) -> InjectedFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InjectedFailure
impl RefUnwindSafe for InjectedFailure
impl Send for InjectedFailure
impl Sync for InjectedFailure
impl Unpin for InjectedFailure
impl UnsafeUnpin for InjectedFailure
impl UnwindSafe for InjectedFailure
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