[][src]Struct asn1_der::SliceSink

pub struct SliceSink<'a> { /* fields omitted */ }

A slice-backed sink

Methods

impl<'a> SliceSink<'a>[src]

pub fn new(slice: &'a mut [u8], pos: &'a mut usize) -> Self[src]

Creates a new SliceSink with slice as backing and pos as position counter

Trait Implementations

impl<'a> Into<&'a [u8]> for SliceSink<'a>[src]

impl<'a> Sink for SliceSink<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SliceSink<'a>

impl<'a> Send for SliceSink<'a>

impl<'a> Sync for SliceSink<'a>

impl<'a> Unpin for SliceSink<'a>

impl<'a> !UnwindSafe for SliceSink<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.