Struct bolic_network::hub::event::IONotifier
source · pub struct IONotifier(/* private fields */);Implementations§
source§impl IONotifier
impl IONotifier
pub fn new( eid: usize, inbound: EventSender<usize>, outbound: EventSender<usize> ) -> Self
sourcepub async fn notify(&self, event: IOInterest) -> Option<()>
pub async fn notify(&self, event: IOInterest) -> Option<()>
Notify the event-loop that the IO is ready to poll.
sourcepub fn blocking_notify(&self, event: IOInterest) -> Option<()>
pub fn blocking_notify(&self, event: IOInterest) -> Option<()>
Notify the event-loop that the IO is ready to poll.
Trait Implementations§
source§impl Clone for IONotifier
impl Clone for IONotifier
source§fn clone(&self) -> IONotifier
fn clone(&self) -> IONotifier
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 Deref for IONotifier
impl Deref for IONotifier
§type Target = IONotifierInner
type Target = IONotifierInner
The resulting type after dereferencing.
source§fn deref(&self) -> &IONotifierInner
fn deref(&self) -> &IONotifierInner
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IONotifier
impl !RefUnwindSafe for IONotifier
impl Send for IONotifier
impl Sync for IONotifier
impl Unpin for IONotifier
impl !UnwindSafe for IONotifier
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