pub struct TestIncomingService<A: Account> { /* private fields */ }
Implementations§
Source§impl<A> TestIncomingService<A>where
A: Account,
impl<A> TestIncomingService<A>where
A: Account,
pub fn fulfill(fulfill: Fulfill) -> Self
pub fn reject(reject: Reject) -> Self
pub fn get_incoming_requests(&self) -> Vec<IncomingRequest<A>>
Trait Implementations§
Source§impl<A: Clone + Account> Clone for TestIncomingService<A>
impl<A: Clone + Account> Clone for TestIncomingService<A>
Source§fn clone(&self) -> TestIncomingService<A>
fn clone(&self) -> TestIncomingService<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> IncomingService<A> for TestIncomingService<A>where
A: Account,
impl<A> IncomingService<A> for TestIncomingService<A>where
A: Account,
type Future = FutureResult<Fulfill, Reject>
fn handle_request(&mut self, request: IncomingRequest<A>) -> Self::Future
Auto Trait Implementations§
impl<A> !Freeze for TestIncomingService<A>
impl<A> !RefUnwindSafe for TestIncomingService<A>
impl<A> Send for TestIncomingService<A>
impl<A> Sync for TestIncomingService<A>where
A: Sync,
impl<A> Unpin for TestIncomingService<A>where
A: Unpin,
impl<A> !UnwindSafe for TestIncomingService<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