Struct actix_telepathy::RemoteWrapper[][src]

pub struct RemoteWrapper {
    pub destination: RemoteAddr,
    pub message_buffer: Vec<u8>,
    pub identifier: String,
    pub source: Option<Addr<NetworkInterface>>,
    pub conversation_id: Option<Uuid>,
}

Wrapper for messages to be sent to remote actor

Fields

destination: RemoteAddrmessage_buffer: Vec<u8>identifier: Stringsource: Option<Addr<NetworkInterface>>conversation_id: Option<Uuid>

Implementations

impl RemoteWrapper[src]

pub fn new<T: RemoteMessage>(
    destination: RemoteAddr,
    message: T,
    conversation_id: Option<Uuid>
) -> RemoteWrapper
[src]

Trait Implementations

impl Clone for RemoteWrapper[src]

impl<'de> Deserialize<'de> for RemoteWrapper[src]

impl Handler<RemoteWrapper> for Gossip[src]

type Result = ()

The type of value that this handler will return. Read more

impl Handler<RemoteWrapper> for AddrResolver[src]

type Result = ()

The type of value that this handler will return. Read more

impl Message for RemoteWrapper[src]

type Result = ()

The type of value that this message will resolved with if it is successful. Read more

impl Serialize for RemoteWrapper[src]

Auto Trait Implementations

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<M> BrokerMsg for M where
    M: Message<Result = ()> + Send + Clone + 'static, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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>,