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)>
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<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>
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>
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