#[non_exhaustive]pub enum PortErrorKind {
Conflict,
Unavailable,
Other,
}Expand description
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.
Conflict
The operation conflicted with concurrent state (e.g. a stale version
on Save).
The port is temporarily unreachable (e.g. a network/connection failure); retrying later may succeed.
Other
Any failure not covered by a more specific kind.
Trait Implementations§
Source§impl Clone for PortErrorKind
impl Clone for PortErrorKind
Source§fn clone(&self) -> PortErrorKind
fn clone(&self) -> PortErrorKind
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 PortErrorKind
Source§impl Debug for PortErrorKind
impl Debug for PortErrorKind
impl Eq for PortErrorKind
Source§impl PartialEq for PortErrorKind
impl PartialEq for PortErrorKind
impl StructuralPartialEq for PortErrorKind
Auto Trait Implementations§
impl Freeze for PortErrorKind
impl RefUnwindSafe for PortErrorKind
impl Send for PortErrorKind
impl Sync for PortErrorKind
impl Unpin for PortErrorKind
impl UnsafeUnpin for PortErrorKind
impl UnwindSafe for PortErrorKind
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