[−][src]Enum async_backplane::Crash
Something went wrong with a Device.
Variants
PowerOff(DeviceID)
We were asked to shut down.
Panic(Unwind)
The Future we were executing panicked.
The Future we were executing returned an Err.
A device we depended upon faulted.
Implementations
impl<Error> Crash<Error>
[src]
pub fn is_panic(&self) -> bool
[src]
Did the future unwind panic?
pub fn is_error(&self) -> bool
[src]
Did the future return Err?
pub fn is_cascade(&self) -> bool
[src]
Did a Device we depend on fault?
Trait Implementations
Auto Trait Implementations
impl<Error> !RefUnwindSafe for Crash<Error>
impl<Error> Send for Crash<Error> where
Error: Send,
Error: Send,
impl<Error> !Sync for Crash<Error>
impl<Error> Unpin for Crash<Error> where
Error: Unpin,
Error: Unpin,
impl<Error> !UnwindSafe for Crash<Error>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,