pub struct LengthDerState {
pub bytes: [u8; 9],
pub len: usize,
pub pos: usize,
}Expand description
Stack-resident serialization cursor for a DER length.
Nine octets cover the one-octet prefix plus every byte of a 64-bit usize, and are also
sufficient on narrower targets.
Fields§
§bytes: [u8; 9]§len: usize§pos: usizeTrait Implementations§
Source§impl Clone for LengthDerState
impl Clone for LengthDerState
Source§fn clone(&self) -> LengthDerState
fn clone(&self) -> LengthDerState
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 moreimpl Copy for LengthDerState
Auto Trait Implementations§
impl Freeze for LengthDerState
impl RefUnwindSafe for LengthDerState
impl Send for LengthDerState
impl Sync for LengthDerState
impl Unpin for LengthDerState
impl UnsafeUnpin for LengthDerState
impl UnwindSafe for LengthDerState
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