pub enum WebSocketSessionOutbound {
Queued {
seq: u64,
message: WebSocketSend,
},
Sending {
seq: u64,
message: WebSocketSend,
},
Sent {
seq: u64,
message: WebSocketSend,
},
Rejected {
seq: u64,
message: WebSocketSend,
error: String,
},
Canceled {
seq: u64,
message: WebSocketSend,
reason: String,
},
}Expand description
WebSocketSessionOutbound variants.
Variants§
Queued
Queued variant.
Sending
Sending variant.
Sent
Sent variant.
Rejected
Rejected variant.
Fields
§
message: WebSocketSendmessage field for message.
Canceled
Canceled variant.
Trait Implementations§
Source§impl Clone for WebSocketSessionOutbound
impl Clone for WebSocketSessionOutbound
Source§fn clone(&self) -> WebSocketSessionOutbound
fn clone(&self) -> WebSocketSessionOutbound
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 WebSocketSessionOutbound
impl Debug for WebSocketSessionOutbound
Source§impl PartialEq for WebSocketSessionOutbound
impl PartialEq for WebSocketSessionOutbound
impl Eq for WebSocketSessionOutbound
impl StructuralPartialEq for WebSocketSessionOutbound
Auto Trait Implementations§
impl Freeze for WebSocketSessionOutbound
impl RefUnwindSafe for WebSocketSessionOutbound
impl Send for WebSocketSessionOutbound
impl Sync for WebSocketSessionOutbound
impl Unpin for WebSocketSessionOutbound
impl UnsafeUnpin for WebSocketSessionOutbound
impl UnwindSafe for WebSocketSessionOutbound
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.