[−][src]Enum rmp::Marker
Format markers.
Variants
FixPos(u8)
FixNeg(i8)
Null
True
False
U8
U16
U32
U64
I8
I16
I32
I64
F32
F64
FixStr(u8)
Str8
Str16
Str32
Bin8
Bin16
Bin32
FixArray(u8)
Array16
Array32
FixMap(u8)
Map16
Map32
FixExt1
FixExt2
FixExt4
FixExt8
FixExt16
Ext8
Ext16
Ext32
Reserved
Methods
impl Marker
[src]
pub fn from_u8(n: u8) -> Marker
[src]
Construct a msgpack marker from a single byte.
pub fn to_u8(&self) -> u8
[src]
Converts a marker object into a single-byte representation.
Trait Implementations
impl From<u8> for Marker
[src]
impl Into<u8> for Marker
[src]
impl PartialEq<Marker> for Marker
[src]
impl Clone for Marker
[src]
fn clone(&self) -> Marker
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Marker
[src]
impl Debug for Marker
[src]
Auto Trait Implementations
impl Send for Marker
impl Unpin for Marker
impl Sync for Marker
impl UnwindSafe for Marker
impl RefUnwindSafe for Marker
Blanket Implementations
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.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,