Struct canonical::ByteSink[][src]

pub struct ByteSink<'a, S: Store> { /* fields omitted */ }

A sink over a slice of bytes

Implementations

impl<'a, S> ByteSink<'a, S> where
    S: Store
[src]

pub fn new(bytes: &'a mut [u8], store: &'a S) -> Self[src]

Creates a new sink reading from bytes

Trait Implementations

impl<'a, S> Debug for ByteSink<'a, S> where
    S: Store
[src]

impl<'a, S> Sink<S> for ByteSink<'a, S> where
    S: Store
[src]

Auto Trait Implementations

impl<'a, S> RefUnwindSafe for ByteSink<'a, S> where
    S: RefUnwindSafe,
    <<S as Store>::Ident as Ident>::Builder: RefUnwindSafe

impl<'a, S> Send for ByteSink<'a, S> where
    S: Sync,
    <<S as Store>::Ident as Ident>::Builder: Send

impl<'a, S> Sync for ByteSink<'a, S> where
    S: Sync,
    <<S as Store>::Ident as Ident>::Builder: Sync

impl<'a, S> Unpin for ByteSink<'a, S> where
    <<S as Store>::Ident as Ident>::Builder: Unpin

impl<'a, S> !UnwindSafe for ByteSink<'a, S>

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.