Struct ockam_core::Any[][src]

pub struct Any;

A passthrough marker message type

This is a special message type which will enable your worker to accept any typed message, by ignoring the type information in the payload.

This is especially useful for implementing middleware workers which need access to the route information of a message, without understanding its payload.

Trait Implementations

impl Clone for Any[src]

impl Debug for Any[src]

impl Display for Any[src]

impl Eq for Any[src]

impl Message for Any[src]

impl PartialEq<Any> for Any[src]

impl StructuralEq for Any[src]

impl StructuralPartialEq for Any[src]

Auto Trait Implementations

impl RefUnwindSafe for Any

impl Send for Any

impl Sync for Any

impl Unpin for Any

impl UnwindSafe for Any

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,