pub struct NotificationSynchronousProxy { /* private fields */ }
Implementations§
source§impl NotificationSynchronousProxy
impl NotificationSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<NotificationEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<NotificationEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NotificationSynchronousProxy
impl Send for NotificationSynchronousProxy
impl Sync for NotificationSynchronousProxy
impl Unpin for NotificationSynchronousProxy
impl UnwindSafe for NotificationSynchronousProxy
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