pub struct PendingMethodCalls {
inner: Arc<Mutex<PendingMethodCallsState>>,
}Fields§
§inner: Arc<Mutex<PendingMethodCallsState>>Implementations§
Source§impl PendingMethodCalls
impl PendingMethodCalls
pub fn register_call( &self, serial: NonZeroU32, ) -> impl Future<Output = Result<Message>> + OrderedFuture<Output = Result<Message>, Ordering = Sequence>
pub fn complete_call( &self, serial: NonZeroU32, ordering: Sequence, reply: Result<Message>, )
pub fn fail_all(&self, error: Error)
fn remove_call(&self, serial: NonZeroU32)
Trait Implementations§
Source§impl Clone for PendingMethodCalls
impl Clone for PendingMethodCalls
Source§fn clone(&self) -> PendingMethodCalls
fn clone(&self) -> PendingMethodCalls
Returns a duplicate 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 Debug for PendingMethodCalls
impl Debug for PendingMethodCalls
Auto Trait Implementations§
impl Freeze for PendingMethodCalls
impl RefUnwindSafe for PendingMethodCalls
impl Send for PendingMethodCalls
impl Sync for PendingMethodCalls
impl Unpin for PendingMethodCalls
impl UnsafeUnpin for PendingMethodCalls
impl UnwindSafe for PendingMethodCalls
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