#[non_exhaustive]pub enum CodecNameReason {
Unsupported,
}Expand description
Reason a codec name could not be resolved, used in error messages.
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.
Unsupported
The codec name is not one of the supported multicodec names.
Trait Implementations§
Source§impl Clone for CodecNameReason
impl Clone for CodecNameReason
impl Copy for CodecNameReason
Source§impl Debug for CodecNameReason
impl Debug for CodecNameReason
Source§impl Display for CodecNameReason
impl Display for CodecNameReason
impl Eq for CodecNameReason
Source§impl PartialEq for CodecNameReason
impl PartialEq for CodecNameReason
impl StructuralPartialEq for CodecNameReason
Auto Trait Implementations§
impl Freeze for CodecNameReason
impl RefUnwindSafe for CodecNameReason
impl Send for CodecNameReason
impl Sync for CodecNameReason
impl Unpin for CodecNameReason
impl UnsafeUnpin for CodecNameReason
impl UnwindSafe for CodecNameReason
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