pub struct TlvDerState<Content> {
pub tag: TagDerState,
pub length: LengthDerState,
pub content: Content,
pub content_len: usize,
pub phase: u8,
}Expand description
Cursor for a complete DER tag-length-value encoding.
Fields§
§tag: TagDerState§length: LengthDerState§content: Content§content_len: usize§phase: u80: tag, 1: length, 2: content.
Trait Implementations§
Source§impl<Content: Clone> Clone for TlvDerState<Content>
impl<Content: Clone> Clone for TlvDerState<Content>
Source§fn clone(&self) -> TlvDerState<Content>
fn clone(&self) -> TlvDerState<Content>
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<Content: Default> Default for TlvDerState<Content>
impl<Content: Default> Default for TlvDerState<Content>
Source§fn default() -> TlvDerState<Content>
fn default() -> TlvDerState<Content>
Returns the “default value” for a type. Read more
impl<Content: Copy> Copy for TlvDerState<Content>
Auto Trait Implementations§
impl<Content> Freeze for TlvDerState<Content>where
Content: Freeze,
impl<Content> RefUnwindSafe for TlvDerState<Content>where
Content: RefUnwindSafe,
impl<Content> Send for TlvDerState<Content>where
Content: Send,
impl<Content> Sync for TlvDerState<Content>where
Content: Sync,
impl<Content> Unpin for TlvDerState<Content>where
Content: Unpin,
impl<Content> UnsafeUnpin for TlvDerState<Content>where
Content: UnsafeUnpin,
impl<Content> UnwindSafe for TlvDerState<Content>where
Content: UnwindSafe,
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