[][src]Struct vessels::core::orchestrator::Module

pub struct Module<T: Kind>(_, _);

Methods

impl<T: Kind> Module<T>[src]

pub fn new(data: Vec<u8>) -> Self[src]

Trait Implementations

impl<T: Kind> Kind for Module<T> where
    Vec<u8>: AsKind<Serde>,
    T: Kind
[src]

type ConstructItem = _DERIVE_Items

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 = Future<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 = Future<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: Kind> Serialize for Module<T>[src]

impl<'de, T: Kind> Deserialize<'de> for Module<T>[src]

Auto Trait Implementations

impl<T> Send for Module<T>

impl<T> Sync for Module<T>

impl<T> Unpin for Module<T>

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

impl<T> RefUnwindSafe for Module<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<Serde> for T where
    T: 'static + Send + Sync + Unpin + DeserializeOwned + Serialize
[src]

type Kind = Serde<T>

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

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

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> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

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