pub enum CodecSelection {
Fixed(Codec),
Smallest,
}Variants§
Trait Implementations§
Source§impl Clone for CodecSelection
impl Clone for CodecSelection
Source§fn clone(&self) -> CodecSelection
fn clone(&self) -> CodecSelection
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 CodecSelection
Source§impl Debug for CodecSelection
impl Debug for CodecSelection
impl Eq for CodecSelection
Source§impl PartialEq for CodecSelection
impl PartialEq for CodecSelection
Source§fn eq(&self, other: &CodecSelection) -> bool
fn eq(&self, other: &CodecSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodecSelection
Auto Trait Implementations§
impl Freeze for CodecSelection
impl RefUnwindSafe for CodecSelection
impl Send for CodecSelection
impl Sync for CodecSelection
impl Unpin for CodecSelection
impl UnsafeUnpin for CodecSelection
impl UnwindSafe for CodecSelection
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