[−][src]Struct vessels::core::data::Checksum
Methods
impl Checksum
[src]
pub async fn new<'_, T: Serialize + DeserializeOwned + Sync + Send + 'static>(
item: &'_ T
) -> Result<Checksum, CoreError>
[src]
item: &'_ T
) -> Result<Checksum, CoreError>
Trait Implementations
impl Kind for Checksum
[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
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 Clone for Checksum
[src]
impl Eq for Checksum
[src]
impl PartialEq<Checksum> for Checksum
[src]
impl Debug for Checksum
[src]
impl Hash for Checksum
[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 StructuralPartialEq for Checksum
[src]
impl StructuralEq for Checksum
[src]
impl Serialize for Checksum
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Checksum
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Checksum
impl Sync for Checksum
impl Unpin for Checksum
impl UnwindSafe for Checksum
impl RefUnwindSafe for Checksum
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> 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<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> 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,