[][src]Struct vessels::kind::Default

pub struct Default<T: IDefault>(_);

Methods

impl<T: IDefault> Default<T>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<T: IDefault + Unpin + Sync + Send + 'static> Kind for Default<T>[src]

type ConstructItem = ()

The item transmitted over the network to the construction task from deconstruction. Read more

type ConstructError = Void

The failure condition of constructing a concrete type from communicated data.

type ConstructFuture = Ready<ConstructResult<Self>>

The concrete future type returned by the construction process.

type DeconstructItem = ()

The item transmitted over the network from the construction task to deconstruction. Read more

type DeconstructError = Void

The failure condition of constructing a concrete type from communicated data.

type DeconstructFuture = Ready<DeconstructResult<Self>>

The concrete future type returned by the deconstruction process. This is used to only to communicate failure of deconstruction and does not return a value. Read more

impl<T: IDefault> From<T> for Default<T>[src]

impl<T: Clone + IDefault> Clone for Default<T>[src]

impl<T: Default + IDefault> Default for Default<T>[src]

impl<T: Eq + IDefault> Eq for Default<T>[src]

impl<T: Ord + IDefault> Ord for Default<T>[src]

impl<T: PartialEq + IDefault> PartialEq<Default<T>> for Default<T>[src]

impl<T: PartialOrd + IDefault> PartialOrd<Default<T>> for Default<T>[src]

impl<T: Debug + IDefault> Debug for Default<T>[src]

impl<T: IDefault> Deref for Default<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Hash + IDefault> Hash for Default<T>[src]

impl<T: IDefault> StructuralPartialEq for Default<T>[src]

impl<T: IDefault> StructuralEq for Default<T>[src]

Auto Trait Implementations

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

impl<T> Sync for Default<T> where
    T: Sync

impl<T> Unpin for Default<T> where
    T: Unpin

impl<T> UnwindSafe for Default<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for Default<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<K> OnTo for K where
    K: Kind
[src]

impl<'de, U, K> ApplyDecode<'de, K> for U where
    K: Kind
[src]

impl<T> AsKind<Default> for T where
    T: 'static + Send + Sync + Unpin + Default
[src]

type Kind = Default<T>

impl<T> Share for T where
    T: Clone
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any