#[non_exhaustive]pub enum ArgumentWidth {
Inline,
One,
Two,
Four,
Eight,
Indefinite,
Break,
}Expand description
Received argument/payload width, including indefinite and break tokens.
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.
Inline
The argument is in the initial byte.
One
One additional byte.
Two
Two additional bytes, or a binary16 float.
Four
Four additional bytes, or a binary32 float.
Eight
Eight additional bytes, or a binary64 float.
Indefinite
An indefinite-length header.
Break
A break token, which is not itself a data item.
Trait Implementations§
Source§impl Clone for ArgumentWidth
impl Clone for ArgumentWidth
impl Copy for ArgumentWidth
Source§impl Debug for ArgumentWidth
impl Debug for ArgumentWidth
impl Eq for ArgumentWidth
Source§impl PartialEq for ArgumentWidth
impl PartialEq for ArgumentWidth
impl StructuralPartialEq for ArgumentWidth
Auto Trait Implementations§
impl Forget for ArgumentWidth
impl Freeze for ArgumentWidth
impl Move for ArgumentWidth
impl RefUnwindSafe for ArgumentWidth
impl Send for ArgumentWidth
impl Sync for ArgumentWidth
impl Unpin for ArgumentWidth
impl UnsafeUnpin for ArgumentWidth
impl UnwindSafe for ArgumentWidth
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