pub struct TestOutgoingService<A: Account> { /* private fields */ }
Implementations§
Source§impl<A> TestOutgoingService<A>where
A: Account,
impl<A> TestOutgoingService<A>where
A: Account,
pub fn fulfill(fulfill: Fulfill) -> Self
pub fn reject(reject: Reject) -> Self
pub fn get_outgoing_requests(&self) -> Vec<OutgoingRequest<A>>
Trait Implementations§
Source§impl<A: Clone + Account> Clone for TestOutgoingService<A>
impl<A: Clone + Account> Clone for TestOutgoingService<A>
Source§fn clone(&self) -> TestOutgoingService<A>
fn clone(&self) -> TestOutgoingService<A>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<A> OutgoingService<A> for TestOutgoingService<A>where
A: Account,
impl<A> OutgoingService<A> for TestOutgoingService<A>where
A: Account,
type Future = FutureResult<Fulfill, Reject>
fn send_request(&mut self, request: OutgoingRequest<A>) -> Self::Future
Auto Trait Implementations§
impl<A> !Freeze for TestOutgoingService<A>
impl<A> !RefUnwindSafe for TestOutgoingService<A>
impl<A> Send for TestOutgoingService<A>
impl<A> Sync for TestOutgoingService<A>where
A: Sync,
impl<A> Unpin for TestOutgoingService<A>where
A: Unpin,
impl<A> !UnwindSafe for TestOutgoingService<A>
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