[][src]Struct lib3h_zombie_actor::GhostEndpoint

pub struct GhostEndpoint<RequestToOther: 'static, RequestToOtherResponse: 'static, RequestToSelf: 'static, RequestToSelfResponse: 'static, Error: 'static + Debug> { /* fields omitted */ }

create_ghost_channel outputs two endpoints, a parent_endpoint, and a child_endpoint these raw endpoints are not very useful on their own. When you get them to the place they will be used, you probably want to call as_context_endpoint_builder() on them.

Methods

impl<RequestToOther: 'static, RequestToOtherResponse: 'static, RequestToSelf: 'static, RequestToSelfResponse: 'static, Error: 'static + Debug> GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>[src]

pub fn as_context_endpoint_builder(
    self
) -> GhostContextEndpointBuilder<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>
[src]

expand a raw endpoint into something usable. Feel free to use as_context_endpoint_builder::<()>("prefix") if you don't need any context. request_id_prefix is a debugging hint... the request_ids generated for tracking request/response pairs will be prepended with this prefix.

Auto Trait Implementations

impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> RefUnwindSafe for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>

impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> Send for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> where
    Error: Send,
    RequestToOther: Send,
    RequestToOtherResponse: Send,
    RequestToSelf: Send,
    RequestToSelfResponse: Send

impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> Sync for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> where
    Error: Send,
    RequestToOther: Send,
    RequestToOtherResponse: Send,
    RequestToSelf: Send,
    RequestToSelfResponse: Send

impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> Unpin for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> where
    Error: Unpin,
    RequestToOtherResponse: Unpin,
    RequestToSelf: Unpin

impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> UnwindSafe for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>

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> Erased for T

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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>,