pub struct CborInteger { /* private fields */ }Trait Implementations§
Source§impl<'a> CborDeserialize<'a> for CborInteger
impl<'a> CborDeserialize<'a> for CborInteger
fn cbor_deserialize_from<R: Read<'a>>(
reader: &mut R,
) -> Result<Self, SeaboredDeError>where
Self: Sized + 'a,
Source§impl CborSerialize for CborInteger
impl CborSerialize for CborInteger
fn cbor_serialize_to<W: Write>( &self, writer: &mut W, ) -> Result<usize, SeaboredSerError>
fn cbor_serialize(&self) -> Result<Vec<u8>, SeaboredSerError>
Source§impl Clone for CborInteger
impl Clone for CborInteger
Source§fn clone(&self) -> CborInteger
fn clone(&self) -> CborInteger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CborInteger
impl Debug for CborInteger
impl Eq for CborInteger
Source§impl From<&CborInteger> for MajorType
impl From<&CborInteger> for MajorType
Source§fn from(value: &CborInteger) -> Self
fn from(value: &CborInteger) -> Self
Converts to this type from the input type.
Source§impl From<&CborInteger> for u64
impl From<&CborInteger> for u64
Source§fn from(ci: &CborInteger) -> u64
fn from(ci: &CborInteger) -> u64
Converts to this type from the input type.
Source§impl From<CborInteger> for u64
impl From<CborInteger> for u64
Source§fn from(ci: CborInteger) -> u64
fn from(ci: CborInteger) -> u64
Converts to this type from the input type.
Source§impl From<i8> for CborInteger
impl From<i8> for CborInteger
Source§impl From<i16> for CborInteger
impl From<i16> for CborInteger
Source§impl From<i32> for CborInteger
impl From<i32> for CborInteger
Source§impl From<i64> for CborInteger
impl From<i64> for CborInteger
Source§impl From<u8> for CborInteger
impl From<u8> for CborInteger
Source§impl From<u16> for CborInteger
impl From<u16> for CborInteger
Source§impl From<u32> for CborInteger
impl From<u32> for CborInteger
Source§impl From<u64> for CborInteger
impl From<u64> for CborInteger
Source§impl From<usize> for CborInteger
impl From<usize> for CborInteger
Source§impl Ord for CborInteger
impl Ord for CborInteger
Source§fn cmp(&self, other: &CborInteger) -> Ordering
fn cmp(&self, other: &CborInteger) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CborInteger
impl PartialEq for CborInteger
Source§impl PartialOrd for CborInteger
impl PartialOrd for CborInteger
impl StructuralPartialEq for CborInteger
Source§impl TryFrom<i128> for CborInteger
impl TryFrom<i128> for CborInteger
Source§impl TryInto<i8> for CborInteger
impl TryInto<i8> for CborInteger
Source§impl TryInto<i8> for &CborInteger
impl TryInto<i8> for &CborInteger
Source§impl TryInto<i16> for CborInteger
impl TryInto<i16> for CborInteger
Source§impl TryInto<i16> for &CborInteger
impl TryInto<i16> for &CborInteger
Source§impl TryInto<i32> for CborInteger
impl TryInto<i32> for CborInteger
Source§impl TryInto<i32> for &CborInteger
impl TryInto<i32> for &CborInteger
Source§impl TryInto<i64> for CborInteger
impl TryInto<i64> for CborInteger
Source§impl TryInto<i64> for &CborInteger
impl TryInto<i64> for &CborInteger
Source§impl TryInto<u8> for CborInteger
impl TryInto<u8> for CborInteger
Source§impl TryInto<u8> for &CborInteger
impl TryInto<u8> for &CborInteger
Source§impl TryInto<u16> for CborInteger
impl TryInto<u16> for CborInteger
Source§impl TryInto<u16> for &CborInteger
impl TryInto<u16> for &CborInteger
Source§impl TryInto<u32> for CborInteger
impl TryInto<u32> for CborInteger
Source§impl TryInto<u32> for &CborInteger
impl TryInto<u32> for &CborInteger
Source§impl TryInto<usize> for CborInteger
impl TryInto<usize> for CborInteger
Auto Trait Implementations§
impl Freeze for CborInteger
impl RefUnwindSafe for CborInteger
impl Send for CborInteger
impl Sync for CborInteger
impl Unpin for CborInteger
impl UnsafeUnpin for CborInteger
impl UnwindSafe for CborInteger
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