[][src]Struct vessels::replicate::Shared

pub struct Shared<T: Trait<T> + Reflected + ?Sized>(_);

Methods

impl<T: Trait<T> + Reflected + ?Sized> Shared<T>[src]

pub fn new(item: Box<T>) -> Self[src]

Trait Implementations

impl<T: Trait<T> + Reflected + ?Sized> Trait<T> for Shared<T>[src]

impl<T: Trait<T> + Reflected + ?Sized> Share for Shared<T>[src]

impl<T: Reflected + Trait<T> + ?Sized> Kind for Shared<T> where
    Box<T>: Kind
[src]

type ConstructItem = ForkHandle

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

type ConstructError = WrappedError<<Box<T> as Kind>::ConstructError>

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 = WrappedError<<Box<T> as Kind>::DeconstructError>

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

Auto Trait Implementations

impl<T: ?Sized> Send for Shared<T>

impl<T: ?Sized> Sync for Shared<T>

impl<T: ?Sized> Unpin for Shared<T>

impl<T: ?Sized> UnwindSafe for Shared<T>

impl<T: ?Sized> RefUnwindSafe for Shared<T>

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> Share for T where
    T: Clone
[src]

impl<DERIVEPARAM> Peer for DERIVEPARAM where
    DERIVEPARAM: 'static + Trait<dyn Peer + 'static> + Send + Sync
[src]

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> Downcast for T where
    T: Any

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