[−][src]Struct lib3h_zombie_actor::GhostEndpoint
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]
self
) -> GhostContextEndpointBuilder<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>
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> Send for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> where
Error: Send,
RequestToOther: Send,
RequestToOtherResponse: Send,
RequestToSelf: Send,
RequestToSelfResponse: Send,
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,
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,
Error: Unpin,
RequestToOtherResponse: Unpin,
RequestToSelf: Unpin,
impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> UnwindSafe for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>
impl<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error> RefUnwindSafe for GhostEndpoint<RequestToOther, RequestToOtherResponse, RequestToSelf, RequestToSelfResponse, Error>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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,