[−][src]Struct vessels::replicate::Shared
Methods
impl<T: Trait<T> + Reflected + ?Sized> Shared<T>
[src]
Trait Implementations
impl<T: Trait<T> + Reflected + ?Sized> Trait<T> for Shared<T>
[src]
fn call(
&self,
index: MethodIndex,
args: Vec<Box<dyn Any + Send + Sync>>
) -> Result<Box<dyn Any + Send + Sync>, CallError>
[src]
&self,
index: MethodIndex,
args: Vec<Box<dyn Any + Send + Sync>>
) -> Result<Box<dyn Any + Send + Sync>, CallError>
fn call_mut(
&mut self,
index: MethodIndex,
args: Vec<Box<dyn Any + Send + Sync>>
) -> Result<Box<dyn Any + Send + Sync>, CallError>
[src]
&mut self,
index: MethodIndex,
args: Vec<Box<dyn Any + Send + Sync>>
) -> Result<Box<dyn Any + Send + Sync>, CallError>
fn call_move(
self: Box<Self>,
index: MethodIndex,
args: Vec<Box<dyn Any + Send + Sync>>
) -> Result<Box<dyn Any + Send + Sync>, CallError>
[src]
self: Box<Self>,
index: MethodIndex,
args: Vec<Box<dyn Any + Send + Sync>>
) -> Result<Box<dyn Any + Send + Sync>, CallError>
fn by_name(&self, name: &str) -> Result<MethodIndex, NameError>
[src]
fn count(&self) -> MethodIndex
[src]
fn name_of(&self, index: MethodIndex) -> Result<String, OutOfRangeError>
[src]
fn this(&self) -> TypeId
[src]
fn name(&self) -> String
[src]
fn types(&self, index: MethodIndex) -> Result<MethodTypes, OutOfRangeError>
[src]
fn supertraits(&self) -> Vec<TypeId>
[src]
fn upcast_erased(
self: Box<Self>,
ty: TypeId
) -> Result<Box<dyn Erased>, CastError>
[src]
self: Box<Self>,
ty: TypeId
) -> Result<Box<dyn Erased>, CastError>
fn erase(self: Box<Self>) -> Box<dyn Erased>
[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]
Box<T>: Kind,
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
fn deconstruct<C: Channel<Self::DeconstructItem, Self::ConstructItem>>(
self,
channel: C
) -> Self::DeconstructFuture
[src]
self,
channel: C
) -> Self::DeconstructFuture
fn construct<C: Channel<Self::ConstructItem, Self::DeconstructItem>>(
channel: C
) -> Self::ConstructFuture
[src]
channel: C
) -> Self::ConstructFuture
const USE_KIND_MACRO_TO_GENERATE_THIS_FIELD: [u8; 32]
[src]
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]
K: Kind,
fn on_to<'a, T>(
Self
) -> Pin<Box<dyn Future<Output = T> + 'static + Sync + Send>> where
K: Send + 'static,
T: Target<'a, K>,
<K as Kind>::DeconstructFuture: Sync,
<K as Kind>::DeconstructFuture: Send,
[src]
Self
) -> Pin<Box<dyn Future<Output = T> + 'static + Sync + Send>> where
K: Send + 'static,
T: Target<'a, K>,
<K as Kind>::DeconstructFuture: Sync,
<K as Kind>::DeconstructFuture: Send,
impl<'de, U, K> ApplyDecode<'de, K> for U where
K: Kind,
[src]
K: Kind,
fn decode<T, F>(Self) -> <F as Decode<'de, U, K>>::Output where
F: 'static + Format,
T: 'static + Target<'de, K> + Send + Sync,
U: UniformStreamSink<<F as Format>::Representation> + Sync + Send + 'static,
<F as Format>::Representation: Clone,
<F as Format>::Representation: Sync,
<F as Format>::Representation: Send,
<U as Sink<<F as Format>::Representation>>::Error: ErrorBound,
<T as Context<'de>>::Item: Sync,
<T as Context<'de>>::Item: Send,
[src]
F: 'static + Format,
T: 'static + Target<'de, K> + Send + Sync,
U: UniformStreamSink<<F as Format>::Representation> + Sync + Send + 'static,
<F as Format>::Representation: Clone,
<F as Format>::Representation: Sync,
<F as Format>::Representation: Send,
<U as Sink<<F as Format>::Representation>>::Error: ErrorBound,
<T as Context<'de>>::Item: Sync,
<T as Context<'de>>::Item: Send,
impl<T> Share for T where
T: Clone,
[src]
T: Clone,
impl<DERIVEPARAM> Peer for DERIVEPARAM where
DERIVEPARAM: 'static + Trait<dyn Peer + 'static> + Send + Sync,
[src]
DERIVEPARAM: 'static + Trait<dyn Peer + 'static> + Send + Sync,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,