pub enum BinaryCarrier {
Bytes,
Base64Text,
}Expand description
How binary frame bytes are carried at the codec boundary.
Variants§
Trait Implementations§
Source§impl Clone for BinaryCarrier
impl Clone for BinaryCarrier
Source§fn clone(&self) -> BinaryCarrier
fn clone(&self) -> BinaryCarrier
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 BinaryCarrier
Source§impl Debug for BinaryCarrier
impl Debug for BinaryCarrier
impl Eq for BinaryCarrier
Source§impl PartialEq for BinaryCarrier
impl PartialEq for BinaryCarrier
Source§fn eq(&self, other: &BinaryCarrier) -> bool
fn eq(&self, other: &BinaryCarrier) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinaryCarrier
Auto Trait Implementations§
impl Freeze for BinaryCarrier
impl RefUnwindSafe for BinaryCarrier
impl Send for BinaryCarrier
impl Sync for BinaryCarrier
impl Unpin for BinaryCarrier
impl UnsafeUnpin for BinaryCarrier
impl UnwindSafe for BinaryCarrier
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