[−][src]Struct lib3h_zombie_actor::prelude::GhostParentWrapperDyn
same as above, but takes a trait object child
Methods
impl<UserData, RequestToParent: 'static, RequestToParentResponse: 'static, RequestToChild: 'static, RequestToChildResponse: 'static, Error: 'static + Debug> GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>
[src]
pub fn new(
actor: Box<dyn GhostActor<RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>>,
request_id_prefix: &str
) -> Self
[src]
actor: Box<dyn GhostActor<RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>>,
request_id_prefix: &str
) -> Self
wrap a GhostActor instance and it's parent channel endpoint.
Trait Implementations
impl<UserData, RequestToParent: 'static, RequestToParentResponse: 'static, RequestToChild: 'static, RequestToChildResponse: 'static, Error: 'static + Debug> GhostCanTrack<UserData, RequestToChild, RequestToChildResponse, RequestToParent, RequestToParentResponse, Error> for GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>
[src]
fn publish(&mut self, span: Span, payload: RequestToChild) -> GhostResult<()>
[src]
see GhostContextEndpoint::publish
fn request(
&mut self,
span: Span,
payload: RequestToChild,
cb: GhostCallback<UserData, RequestToChildResponse, Error>
) -> GhostResult<()>
[src]
&mut self,
span: Span,
payload: RequestToChild,
cb: GhostCallback<UserData, RequestToChildResponse, Error>
) -> GhostResult<()>
see GhostContextEndpoint::request
fn request_options(
&mut self,
span: Span,
payload: RequestToChild,
cb: GhostCallback<UserData, RequestToChildResponse, Error>,
options: GhostTrackRequestOptions
) -> GhostResult<()>
[src]
&mut self,
span: Span,
payload: RequestToChild,
cb: GhostCallback<UserData, RequestToChildResponse, Error>,
options: GhostTrackRequestOptions
) -> GhostResult<()>
fn drain_messages(
&mut self
) -> Vec<GhostMessage<RequestToParent, RequestToChild, RequestToParentResponse, Error>>
[src]
&mut self
) -> Vec<GhostMessage<RequestToParent, RequestToChild, RequestToParentResponse, Error>>
see GhostContextEndpoint::drain_messages
fn process(&mut self, user_data: &mut UserData) -> GhostResult<WorkWasDone>
[src]
see GhostContextEndpoint::process and GhostActor::process
Auto Trait Implementations
impl<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error> !Send for GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>
impl<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error> !Sync for GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>
impl<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error> Unpin for GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error> where
Error: Unpin,
RequestToChildResponse: Unpin,
RequestToParent: Unpin,
Error: Unpin,
RequestToChildResponse: Unpin,
RequestToParent: Unpin,
impl<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error> !UnwindSafe for GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>
impl<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error> !RefUnwindSafe for GhostParentWrapperDyn<UserData, RequestToParent, RequestToParentResponse, RequestToChild, RequestToChildResponse, Error>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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,