[][src]Struct sodium_rust::StreamSink

pub struct StreamSink<A> {
    pub impl_: StreamSinkImpl<A>,
}

Fields

impl_: StreamSinkImpl<A>

Implementations

impl<A: Clone + Send + 'static> StreamSink<A>[src]

pub fn new(sodium_ctx: &SodiumCtx) -> StreamSink<A>[src]

pub fn new_with_coalescer<COALESCER: FnMut(&A, &A) -> A + Send + 'static>(
    sodium_ctx: &SodiumCtx,
    coalescer: COALESCER
) -> StreamSink<A>
[src]

pub fn stream(&self) -> Stream<A>[src]

pub fn send(&self, a: A)[src]

Trait Implementations

impl<A> Clone for StreamSink<A>[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for StreamSink<A>

impl<A> Send for StreamSink<A> where
    A: Send

impl<A> Sync for StreamSink<A> where
    A: Send

impl<A> Unpin for StreamSink<A>

impl<A> !UnwindSafe for StreamSink<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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.