pub enum PrePoll {
OnlyFd(Vec<SubscriptionFd>),
OnlyClock(SubscriptionClock),
ClockAndFd(SubscriptionClock, Vec<SubscriptionFd>),
}
Variants§
OnlyFd(Vec<SubscriptionFd>)
OnlyClock(SubscriptionClock)
ClockAndFd(SubscriptionClock, Vec<SubscriptionFd>)
Implementations§
source§impl PrePoll
impl PrePoll
pub fn from_wasi_subscription( subs: &[__wasi_subscription_t] ) -> Result<Self, Errno>
Auto Trait Implementations§
impl RefUnwindSafe for PrePoll
impl Send for PrePoll
impl Sync for PrePoll
impl Unpin for PrePoll
impl UnwindSafe for PrePoll
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