enum LifecycleCloseCause {
AuthFailed,
Kicked,
RoomFull,
}Expand description
host-visible reason attached to a terminal lifecycle state change
values are derived from terminal websocket close codes and rendered as compatibility labels by production command translation
Variants§
AuthFailed
authentication was rejected by the server
Kicked
the server removed the user from the room
RoomFull
the room refused the connection because capacity was exhausted
Trait Implementations§
Source§impl Clone for LifecycleCloseCause
impl Clone for LifecycleCloseCause
Source§fn clone(&self) -> LifecycleCloseCause
fn clone(&self) -> LifecycleCloseCause
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 moreimpl Copy for LifecycleCloseCause
Auto Trait Implementations§
impl Freeze for LifecycleCloseCause
impl RefUnwindSafe for LifecycleCloseCause
impl Send for LifecycleCloseCause
impl Sync for LifecycleCloseCause
impl Unpin for LifecycleCloseCause
impl UnsafeUnpin for LifecycleCloseCause
impl UnwindSafe for LifecycleCloseCause
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