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> !Send for PollTable<'a>
impl<'a> !Sync for PollTable<'a>
impl<'a> Freeze for PollTable<'a>
impl<'a> RefUnwindSafe for PollTable<'a>
impl<'a> Unpin for PollTable<'a>
impl<'a> UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.