Struct liblightning::co::Promise [] [src]

pub struct Promise<T: Any + 'static> { /* fields omitted */ }

Methods

impl<T: Any + 'static> Promise<T>
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<T: Any + 'static> CommonPromise for Promise<T>
[src]

[src]

[src]

impl<T> From<Cell<T>> for Promise<Cell<T>> where
    T: Any + 'static, 
[src]

[src]

Performs the conversion.

impl From<bool> for Promise<bool>
[src]

[src]

Performs the conversion.

impl From<i8> for Promise<i8>
[src]

[src]

Performs the conversion.

impl From<i16> for Promise<i16>
[src]

[src]

Performs the conversion.

impl From<i32> for Promise<i32>
[src]

[src]

Performs the conversion.

impl From<i64> for Promise<i64>
[src]

[src]

Performs the conversion.

impl From<isize> for Promise<isize>
[src]

[src]

Performs the conversion.

impl From<u8> for Promise<u8>
[src]

[src]

Performs the conversion.

impl From<u16> for Promise<u16>
[src]

[src]

Performs the conversion.

impl From<u32> for Promise<u32>
[src]

[src]

Performs the conversion.

impl From<u64> for Promise<u64>
[src]

[src]

Performs the conversion.

impl From<usize> for Promise<usize>
[src]

[src]

Performs the conversion.

impl From<String> for Promise<String>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Promise<T> where
    T: Send

impl<T> !Sync for Promise<T>