#[non_exhaustive]pub enum Unsupported {
Dictionary {
id: u32,
},
LegacyFrame {
version: LegacyVersion,
},
}Available on crate feature
caller-workspace only.Expand description
Something this decoder does not do, met in otherwise valid input.
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.
Dictionary
The frame needs dictionary id, and this decoder takes none.
LegacyFrame
Available on crate feature
legacy only.A v0.5, v0.6 or v0.7 frame, which the owned decoders read and this one does not: their decoders allocate. Upstream’s static context refuses them likewise.
Fields
§
version: LegacyVersionThe format of the frame.
Trait Implementations§
Source§impl Clone for Unsupported
impl Clone for Unsupported
impl Copy for Unsupported
Source§impl Debug for Unsupported
impl Debug for Unsupported
impl Eq for Unsupported
Source§impl PartialEq for Unsupported
impl PartialEq for Unsupported
impl StructuralPartialEq for Unsupported
Auto Trait Implementations§
impl Freeze for Unsupported
impl RefUnwindSafe for Unsupported
impl Send for Unsupported
impl Sync for Unsupported
impl Unpin for Unsupported
impl UnsafeUnpin for Unsupported
impl UnwindSafe for Unsupported
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