pub(crate) struct Encoder {
state: State,
bytes: [u8; 39],
cursor: usize,
}Expand description
BER/DER encoder
Fields§
§state: StateCurrent state
bytes: [u8; 39]Bytes of the OID being encoded in-progress
cursor: usizeCurrent position within the byte buffer
Implementations§
Source§impl Encoder
impl Encoder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Encoder
impl RefUnwindSafe for Encoder
impl Send for Encoder
impl Sync for Encoder
impl Unpin for Encoder
impl UnwindSafe for Encoder
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