pub enum StreamMessageDirection {
Incoming,
Outgoing,
}
Expand description
The direction of a message in the RPC stream.
Variants§
Incoming
A message received from the other side of the connection.
Outgoing
A message sent to the other side of the connection.
Trait Implementations§
Source§impl Clone for StreamMessageDirection
impl Clone for StreamMessageDirection
Source§fn clone(&self) -> StreamMessageDirection
fn clone(&self) -> StreamMessageDirection
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 StreamMessageDirection
impl Debug for StreamMessageDirection
Source§impl PartialEq for StreamMessageDirection
impl PartialEq for StreamMessageDirection
impl Copy for StreamMessageDirection
impl Eq for StreamMessageDirection
impl StructuralPartialEq for StreamMessageDirection
Auto Trait Implementations§
impl Freeze for StreamMessageDirection
impl RefUnwindSafe for StreamMessageDirection
impl Send for StreamMessageDirection
impl Sync for StreamMessageDirection
impl Unpin for StreamMessageDirection
impl UnwindSafe for StreamMessageDirection
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