[−][src]Struct vessels::core::orchestrator::Module
Methods
impl<T: Kind> Module<T>
[src]
Trait Implementations
impl<T: Kind> Kind for Module<T> where
Vec<u8>: AsKind<Serde>,
T: Kind,
[src]
Vec<u8>: AsKind<Serde>,
T: Kind,
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
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]
impl<T: Kind> Serialize for Module<T>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de, T: Kind> Deserialize<'de> for Module<T>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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,
T: UnwindSafe,
impl<T> RefUnwindSafe for Module<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
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> AsKind<Serde> for T where
T: 'static + Send + Sync + Unpin + DeserializeOwned + Serialize,
[src]
T: 'static + Send + Sync + Unpin + DeserializeOwned + Serialize,
type Kind = Serde<T>
fn into_kind(Self) -> Serde<T>
[src]
fn from_kind(<T as AsKind<Serde>>::Kind) -> T
[src]
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> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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,