[−][src]Struct cbor_tools::format::AdnInfo
The "additional information" field
This is a 5-bit field used to communicate some more detail about the value; it's commonly used to communicate simple values (True, False, Null) or specify how many bytes are to follow.
Implementations
impl AdnInfo
[src]
pub const MORE1: AdnInfo
[src]
1 byte to follow.
pub const MORE2: AdnInfo
[src]
2 bytes to follow.
pub const MORE4: AdnInfo
[src]
4 bytes to follow.
pub const MORE8: AdnInfo
[src]
8 bytes to follow.
pub const INDEFINITE: AdnInfo
[src]
Indefinite-length encoding is used.
pub const FALSE: AdnInfo
[src]
pub const TRUE: AdnInfo
[src]
pub const NULL: AdnInfo
[src]
pub const UNDEFINED: AdnInfo
[src]
pub const FLOAT16: AdnInfo
[src]
pub const FLOAT32: AdnInfo
[src]
pub const FLOAT64: AdnInfo
[src]
pub const BREAK: AdnInfo
[src]
Terminate an indefinite-length encoding.
Trait Implementations
impl Clone for AdnInfo
[src]
impl Copy for AdnInfo
[src]
impl Debug for AdnInfo
[src]
impl PartialEq<AdnInfo> for AdnInfo
[src]
impl StructuralPartialEq for AdnInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for AdnInfo
[src]
impl Send for AdnInfo
[src]
impl Sync for AdnInfo
[src]
impl Unpin for AdnInfo
[src]
impl UnwindSafe for AdnInfo
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,