#[non_exhaustive]pub enum PeerFailureKind {
Elevated,
Other,
}Expand description
Why a peer could not be read, as a stable kind (see PeerError::Unreadable).
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.
Elevated
The OS refused access to the peer’s token: the client runs at a higher integrity level than this host (typically elevated). Tell the user to run the client without administrator rights, or the host elevated too.
Other
Any other failure to read the peer.
Implementations§
Trait Implementations§
Source§impl Clone for PeerFailureKind
impl Clone for PeerFailureKind
impl Copy for PeerFailureKind
Source§impl Debug for PeerFailureKind
impl Debug for PeerFailureKind
impl Eq for PeerFailureKind
Source§impl Hash for PeerFailureKind
impl Hash for PeerFailureKind
Source§impl PartialEq for PeerFailureKind
impl PartialEq for PeerFailureKind
impl StructuralPartialEq for PeerFailureKind
Auto Trait Implementations§
impl Freeze for PeerFailureKind
impl RefUnwindSafe for PeerFailureKind
impl Send for PeerFailureKind
impl Sync for PeerFailureKind
impl Unpin for PeerFailureKind
impl UnsafeUnpin for PeerFailureKind
impl UnwindSafe for PeerFailureKind
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