pub enum SessionEnd {
Closed,
Rejected,
Complete,
}Expand description
Why one connected receive session ended.
Variants§
Closed
The relay closed the connection before the requested command limit.
Rejected
The relay rejected registration, normally because the token is wrong.
Complete
The requested number of commands was emitted (omni get uses one).
Trait Implementations§
Source§impl Clone for SessionEnd
impl Clone for SessionEnd
Source§fn clone(&self) -> SessionEnd
fn clone(&self) -> SessionEnd
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionEnd
impl Debug for SessionEnd
Source§impl PartialEq for SessionEnd
impl PartialEq for SessionEnd
impl Copy for SessionEnd
impl Eq for SessionEnd
impl StructuralPartialEq for SessionEnd
Auto Trait Implementations§
impl Freeze for SessionEnd
impl RefUnwindSafe for SessionEnd
impl Send for SessionEnd
impl Sync for SessionEnd
impl Unpin for SessionEnd
impl UnsafeUnpin for SessionEnd
impl UnwindSafe for SessionEnd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.