pub enum DisconnectReason {
GrantRevoked,
RevocationLogReset,
}Expand description
Why the server closed a connection, carried by Frame::DisconnectReason
as a stable code and its stable name (ACCESS-005 R5).
The registry is closed: a code or name outside it, or a code paired with another code’s name, refuses to decode.
Variants§
GrantRevoked
The right that admitted the connection was withdrawn through a Lys grant revocation.
RevocationLogReset
The grant log the connection’s binding was decided from was replaced; its rights cannot be compared against the new log.
Implementations§
Trait Implementations§
Source§impl Clone for DisconnectReason
impl Clone for DisconnectReason
impl Copy for DisconnectReason
Source§impl Debug for DisconnectReason
impl Debug for DisconnectReason
impl Eq for DisconnectReason
Source§impl PartialEq for DisconnectReason
impl PartialEq for DisconnectReason
impl StructuralPartialEq for DisconnectReason
Auto Trait Implementations§
impl Freeze for DisconnectReason
impl RefUnwindSafe for DisconnectReason
impl Send for DisconnectReason
impl Sync for DisconnectReason
impl Unpin for DisconnectReason
impl UnsafeUnpin for DisconnectReason
impl UnwindSafe for DisconnectReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.