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>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrePoll
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