#[non_exhaustive]pub enum AmiTerminalErrorKind {
Authentication,
Connection,
Timeout,
Protocol,
Io,
Other,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AmiTerminalErrorKind
impl Clone for AmiTerminalErrorKind
Source§fn clone(&self) -> AmiTerminalErrorKind
fn clone(&self) -> AmiTerminalErrorKind
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 moreimpl Copy for AmiTerminalErrorKind
Source§impl Debug for AmiTerminalErrorKind
impl Debug for AmiTerminalErrorKind
impl Eq for AmiTerminalErrorKind
Source§impl PartialEq for AmiTerminalErrorKind
impl PartialEq for AmiTerminalErrorKind
impl StructuralPartialEq for AmiTerminalErrorKind
Auto Trait Implementations§
impl Freeze for AmiTerminalErrorKind
impl RefUnwindSafe for AmiTerminalErrorKind
impl Send for AmiTerminalErrorKind
impl Sync for AmiTerminalErrorKind
impl Unpin for AmiTerminalErrorKind
impl UnsafeUnpin for AmiTerminalErrorKind
impl UnwindSafe for AmiTerminalErrorKind
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