Struct asn1::OwnedBigUint
source · pub struct OwnedBigUint { /* private fields */ }
Expand description
Arbitrary sized unsigned integer which owns its data. Contents may be
accessed as &[u8]
of big-endian data. Its contents always match the DER
encoding of a value (i.e. they are minimal)
Implementations§
source§impl OwnedBigUint
impl OwnedBigUint
Trait Implementations§
source§impl Clone for OwnedBigUint
impl Clone for OwnedBigUint
source§fn clone(&self) -> OwnedBigUint
fn clone(&self) -> OwnedBigUint
Returns a copy of the value. Read more
1.0.0 · 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 OwnedBigUint
impl Debug for OwnedBigUint
source§impl Hash for OwnedBigUint
impl Hash for OwnedBigUint
source§impl PartialEq for OwnedBigUint
impl PartialEq for OwnedBigUint
source§fn eq(&self, other: &OwnedBigUint) -> bool
fn eq(&self, other: &OwnedBigUint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SimpleAsn1Readable<'_> for OwnedBigUint
impl SimpleAsn1Readable<'_> for OwnedBigUint
const TAG: Tag = _
fn parse_data(data: &[u8]) -> ParseResult<Self>
source§impl SimpleAsn1Writable for OwnedBigUint
impl SimpleAsn1Writable for OwnedBigUint
const TAG: Tag = _
fn write_data(&self, dest: &mut WriteBuf) -> WriteResult
impl Eq for OwnedBigUint
impl StructuralPartialEq for OwnedBigUint
Auto Trait Implementations§
impl RefUnwindSafe for OwnedBigUint
impl Send for OwnedBigUint
impl Sync for OwnedBigUint
impl Unpin for OwnedBigUint
impl UnwindSafe for OwnedBigUint
Blanket Implementations§
source§impl<'a, T> Asn1Readable<'a> for Twhere
T: SimpleAsn1Readable<'a>,
impl<'a, T> Asn1Readable<'a> for Twhere
T: SimpleAsn1Readable<'a>,
source§impl<T> Asn1Writable for Twhere
T: SimpleAsn1Writable,
impl<T> Asn1Writable for Twhere
T: SimpleAsn1Writable,
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