pub struct PollTable<'a> { /* private fields */ }
Expand description
Wraps the kernel’s poll_table
.
§Invariants
The pointer must be null or reference a valid poll_table
.
Implementations§
Source§impl<'a> PollTable<'a>
impl<'a> PollTable<'a>
Sourcepub fn register_wait(&self, file: &File, cv: &PollCondVar)
pub fn register_wait(&self, file: &File, cv: &PollCondVar)
Register this PollTable
with the provided PollCondVar
, so that it can be notified
using the condition variable.
Auto Trait Implementations§
impl<'a> Freeze for PollTable<'a>
impl<'a> RefUnwindSafe for PollTable<'a>
impl<'a> !Send for PollTable<'a>
impl<'a> !Sync for PollTable<'a>
impl<'a> Unpin for PollTable<'a>
impl<'a> UnwindSafe for PollTable<'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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more