Struct elfo_test::Proxy [−][src]
pub struct Proxy { /* fields omitted */ }
Implementations
impl Proxy
[src]
impl Proxy
[src]pub async fn send<M: Message>(&self, message: M)
[src]
pub async fn send_to<M: Message>(&self, recipient: Addr, message: M)
[src]
pub async fn request<R: Request>(&self, request: R) -> R::Response
[src]
pub fn respond<R: Request>(
&self,
token: ResponseToken<R>,
response: R::Response
)
[src]
&self,
token: ResponseToken<R>,
response: R::Response
)
pub async fn recv(&mut self) -> Envelope
[src]
pub fn try_recv(&mut self) -> Option<Envelope>
[src]
pub fn set_addr(&mut self, addr: Addr)
[src]
pub fn non_exhaustive(&mut self)
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl !UnwindSafe for Proxy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]