Struct tendril::SendTendril [] [src]

pub struct SendTendril<F> where F: Format {
    // some fields omitted
}

A simple wrapper to make Tendril Send.

Although there is a certain subset of the operations on a Tendril that a SendTendril could reasonably implement, in order to clearly separate concerns this type is deliberately minimalist, acting as a safe encapsulation around the invariants which permit Sendness and behaving as an opaque object.

A SendTendril may be produced by Tendril.into_send() or SendTendril::from(tendril), and may be returned to a Tendril by Tendril::from(self).

Trait Implementations

impl<F> Send for SendTendril<F> where F: Format

impl<F, A> From<Tendril<F, A>> for SendTendril<F> where F: Format, A: Atomicity

fn from(tendril: Tendril<F, A>) -> SendTendril<F>