pub enum ReceiverDirection {
Server,
Client,
}Expand description
Receiver whose direction registry is used during decoding.
Variants§
Server
Server receiver; only client requests are assigned.
Client
SDK receiver; server values and pushes are assigned.
Trait Implementations§
Source§impl Clone for ReceiverDirection
impl Clone for ReceiverDirection
Source§fn clone(&self) -> ReceiverDirection
fn clone(&self) -> ReceiverDirection
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 moreimpl Copy for ReceiverDirection
Source§impl Debug for ReceiverDirection
impl Debug for ReceiverDirection
impl Eq for ReceiverDirection
Source§impl PartialEq for ReceiverDirection
impl PartialEq for ReceiverDirection
impl StructuralPartialEq for ReceiverDirection
Auto Trait Implementations§
impl Freeze for ReceiverDirection
impl RefUnwindSafe for ReceiverDirection
impl Send for ReceiverDirection
impl Sync for ReceiverDirection
impl Unpin for ReceiverDirection
impl UnsafeUnpin for ReceiverDirection
impl UnwindSafe for ReceiverDirection
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