Struct async_wasi::snapshots::common::net::SubscriptionFd
source · pub struct SubscriptionFd {
pub fd: __wasi_fd_t,
pub type_: SubscriptionFdType,
}
Fields§
§fd: __wasi_fd_t
§type_: SubscriptionFdType
Implementations§
source§impl SubscriptionFd
impl SubscriptionFd
pub fn set_write(&mut self, userdata: __wasi_userdata_t)
pub fn set_read(&mut self, userdata: __wasi_userdata_t)
Trait Implementations§
source§impl Clone for SubscriptionFd
impl Clone for SubscriptionFd
source§fn clone(&self) -> SubscriptionFd
fn clone(&self) -> SubscriptionFd
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 Debug for SubscriptionFd
impl Debug for SubscriptionFd
impl Copy for SubscriptionFd
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionFd
impl Send for SubscriptionFd
impl Sync for SubscriptionFd
impl Unpin for SubscriptionFd
impl UnwindSafe for SubscriptionFd
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