[−][src]Struct vessels::kind::Serde
Methods
impl<T: Serialize + DeserializeOwned + Send + 'static> Serde<T>
[src]
Trait Implementations
impl<T: Serialize + DeserializeOwned + Sync + Send + Unpin + 'static> Kind for Serde<T>
[src]
type ConstructItem = T
The item transmitted over the network to the construction task from deconstruction. Read more
type ConstructError = WrappedError<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 = WrappedError<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: Serialize + DeserializeOwned + Send + 'static> From<T> for Serde<T>
[src]
impl<T: Clone + Serialize + DeserializeOwned + Send + 'static> Clone for Serde<T>
[src]
impl<T: Copy + Serialize + DeserializeOwned + Send + 'static> Copy for Serde<T>
[src]
impl<T: Default + Serialize + DeserializeOwned + Send + 'static> Default for Serde<T>
[src]
impl<T: Eq + Serialize + DeserializeOwned + Send + 'static> Eq for Serde<T>
[src]
impl<T: Ord + Serialize + DeserializeOwned + Send + 'static> Ord for Serde<T>
[src]
fn cmp(&self, other: &Serde<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: PartialEq + Serialize + DeserializeOwned + Send + 'static> PartialEq<Serde<T>> for Serde<T>
[src]
impl<T: PartialOrd + Serialize + DeserializeOwned + Send + 'static> PartialOrd<Serde<T>> for Serde<T>
[src]
fn partial_cmp(&self, other: &Serde<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Serde<T>) -> bool
[src]
fn le(&self, other: &Serde<T>) -> bool
[src]
fn gt(&self, other: &Serde<T>) -> bool
[src]
fn ge(&self, other: &Serde<T>) -> bool
[src]
impl<T: Debug + Serialize + DeserializeOwned + Send + 'static> Debug for Serde<T>
[src]
impl<T: Serialize + DeserializeOwned + Send + 'static> Deref for Serde<T>
[src]
impl<T: Hash + Serialize + DeserializeOwned + Send + 'static> Hash for Serde<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: Serialize + DeserializeOwned + Send + 'static> StructuralPartialEq for Serde<T>
[src]
impl<T: Serialize + DeserializeOwned + Send + 'static> StructuralEq for Serde<T>
[src]
Auto Trait Implementations
impl<T> Send for Serde<T>
impl<T> Sync for Serde<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Serde<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Serde<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for Serde<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<Default> for T where
T: 'static + Send + Sync + Unpin + Default,
[src]
T: 'static + Send + Sync + Unpin + Default,
type Kind = Default<T>
fn into_kind(Self) -> Default<T>
[src]
fn from_kind(<T as AsKind<Default>>::Kind) -> T
[src]
impl<T> Share for T where
T: Clone,
[src]
T: Clone,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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,