[][src]Struct pinky_swear::Pinky

pub struct Pinky<T, S = ()> { /* fields omitted */ }

A Pinky allows you to fulfill a Promise that you made.

Methods

impl<T, S> Pinky<T, S>[src]

pub fn swear(&self, data: T)[src]

Honour your PinkySwear by giving the promised data.

Trait Implementations

impl<T, S, E> Cancellable<E> for Pinky<Result<T, E>, S>[src]

impl<T, S> Clone for Pinky<T, S>[src]

impl<T, S> Debug for Pinky<T, S>[src]

Auto Trait Implementations

impl<T, S = ()> !RefUnwindSafe for Pinky<T, S>

impl<T, S> Send for Pinky<T, S> where
    T: Send

impl<T, S> Sync for Pinky<T, S> where
    T: Send

impl<T, S> Unpin for Pinky<T, S>

impl<T, S = ()> !UnwindSafe for Pinky<T, 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> 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.