pub enum TerminalError<E> {
Terminal(E),
Fidl(Error),
}
Expand description
Errors observed from wrapped terminal events.
Variants§
Trait Implementations§
source§impl<E: Debug> Debug for TerminalError<E>
impl<E: Debug> Debug for TerminalError<E>
source§impl<E> Display for TerminalError<E>where
E: Debug,
impl<E> Display for TerminalError<E>where
E: Debug,
source§impl<E: Debug> Error for TerminalError<E>
impl<E: Debug> Error for TerminalError<E>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<TerminalError<AddressRemovalReason>> for AddressStateProviderError
impl From<TerminalError<AddressRemovalReason>> for AddressStateProviderError
source§fn from(e: TerminalError<AddressRemovalReason>) -> Self
fn from(e: TerminalError<AddressRemovalReason>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for TerminalError<E>where
E: Freeze,
impl<E> RefUnwindSafe for TerminalError<E>where
E: RefUnwindSafe,
impl<E> Send for TerminalError<E>where
E: Send,
impl<E> Sync for TerminalError<E>where
E: Sync,
impl<E> Unpin for TerminalError<E>where
E: Unpin,
impl<E> UnwindSafe for TerminalError<E>where
E: UnwindSafe,
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