pub enum ClientOperation {
Join,
Call,
Cast,
Leave,
Ping,
}Expand description
Managed operation used in timeout and interruption errors.
Variants§
Join
Joining a channel.
Call
Sending a correlated channel event.
Cast
Sending an event without waiting for a Phoenix reply.
Leave
Leaving a channel.
Ping
Sending an explicit heartbeat.
Trait Implementations§
Source§impl Clone for ClientOperation
impl Clone for ClientOperation
Source§fn clone(&self) -> ClientOperation
fn clone(&self) -> ClientOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientOperation
impl Debug for ClientOperation
Source§impl Display for ClientOperation
impl Display for ClientOperation
Source§impl PartialEq for ClientOperation
impl PartialEq for ClientOperation
Source§fn eq(&self, other: &ClientOperation) -> bool
fn eq(&self, other: &ClientOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClientOperation
impl Eq for ClientOperation
impl StructuralPartialEq for ClientOperation
Auto Trait Implementations§
impl Freeze for ClientOperation
impl RefUnwindSafe for ClientOperation
impl Send for ClientOperation
impl Sync for ClientOperation
impl Unpin for ClientOperation
impl UnsafeUnpin for ClientOperation
impl UnwindSafe for ClientOperation
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