pub struct TestContext<R> { /* private fields */ }Trait Implementations§
Source§impl<R> Bind<NetAddress> for TestContext<R>where
R: Send + 'static,
impl<R> Bind<NetAddress> for TestContext<R>where
R: Send + 'static,
async fn bind( &mut self, args: BindArgs<NetAddress>, ) -> Result<(), ErrorOf<BindErrorKind>>
Source§impl<R> Debug for TestContext<R>
impl<R> Debug for TestContext<R>
Source§impl<R> Fork for TestContext<R>where
R: Send + 'static,
impl<R> Fork for TestContext<R>where
R: Send + 'static,
Source§impl<R> InitDone for TestContext<R>where
R: Send,
impl<R> InitDone for TestContext<R>where
R: Send,
Source§impl<R> Linking for TestContext<R>where
R: Send,
impl<R> Linking for TestContext<R>where
R: Send,
Source§impl<R> Messaging for TestContext<R>where
R: Send,
impl<R> Messaging for TestContext<R>where
R: Send,
fn address(&self) -> Address
async fn close(&mut self)
async fn recv(&mut self) -> Result<Envelope, ErrorOf<RecvErrorKind>>
async fn send( &mut self, envelope: Envelope, ) -> Result<(), ErrorOf<SendErrorKind>>
async fn forward( &mut self, to: Address, envelope: Envelope, ) -> Result<(), ErrorOf<SendErrorKind>>
Source§impl<R> Now for TestContext<R>where
R: Send,
impl<R> Now for TestContext<R>where
R: Send,
Source§impl<R> Quit for TestContext<R>where
R: Send,
impl<R> Quit for TestContext<R>where
R: Send,
Source§impl<R> Start<R> for TestContext<R>where
R: Send,
impl<R> Start<R> for TestContext<R>where
R: Send,
Source§impl<R> Stop for TestContext<R>where
R: Send,
impl<R> Stop for TestContext<R>where
R: Send,
Auto Trait Implementations§
impl<R> Freeze for TestContext<R>
impl<R> !RefUnwindSafe for TestContext<R>
impl<R> Send for TestContext<R>where
R: Send,
impl<R> Sync for TestContext<R>where
R: Send,
impl<R> Unpin for TestContext<R>
impl<R> !UnwindSafe for TestContext<R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more