#[non_exhaustive]pub enum CodecImplementation {
Software,
Hardware,
}Expand description
The implementation class selected by a codec factory.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CodecImplementation
impl Clone for CodecImplementation
impl Copy for CodecImplementation
Source§impl Debug for CodecImplementation
impl Debug for CodecImplementation
impl Eq for CodecImplementation
Source§impl Hash for CodecImplementation
impl Hash for CodecImplementation
Source§impl PartialEq for CodecImplementation
impl PartialEq for CodecImplementation
impl StructuralPartialEq for CodecImplementation
Auto Trait Implementations§
impl Freeze for CodecImplementation
impl RefUnwindSafe for CodecImplementation
impl Send for CodecImplementation
impl Sync for CodecImplementation
impl Unpin for CodecImplementation
impl UnsafeUnpin for CodecImplementation
impl UnwindSafe for CodecImplementation
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