Struct wasmer_wasix::types::wasi::EpollEventCtl
pub struct EpollEventCtl {
pub events: EpollType,
pub ptr: u64,
pub fd: u32,
pub data1: u32,
pub data2: u64,
}
Fields§
§events: EpollType
§ptr: u64
§fd: u32
§data1: u32
§data2: u64
Trait Implementations§
§impl Clone for EpollEventCtl
impl Clone for EpollEventCtl
§fn clone(&self) -> EpollEventCtl
fn clone(&self) -> EpollEventCtl
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 more§impl Debug for EpollEventCtl
impl Debug for EpollEventCtl
§impl<'de> Deserialize<'de> for EpollEventCtl
impl<'de> Deserialize<'de> for EpollEventCtl
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EpollEventCtl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EpollEventCtl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&ArchivedJournalEpollEventCtlV1> for EpollEventCtl
impl From<&ArchivedJournalEpollEventCtlV1> for EpollEventCtl
source§fn from(val: &ArchivedJournalEpollEventCtlV1) -> EpollEventCtl
fn from(val: &ArchivedJournalEpollEventCtlV1) -> EpollEventCtl
Converts to this type from the input type.
source§impl From<EpollEventCtl> for JournalEpollEventCtlV1
impl From<EpollEventCtl> for JournalEpollEventCtlV1
source§fn from(val: EpollEventCtl) -> JournalEpollEventCtlV1
fn from(val: EpollEventCtl) -> JournalEpollEventCtlV1
Converts to this type from the input type.
source§impl From<JournalEpollEventCtlV1> for EpollEventCtl
impl From<JournalEpollEventCtlV1> for EpollEventCtl
source§fn from(val: JournalEpollEventCtlV1) -> EpollEventCtl
fn from(val: JournalEpollEventCtlV1) -> EpollEventCtl
Converts to this type from the input type.
§impl Hash for EpollEventCtl
impl Hash for EpollEventCtl
§impl Ord for EpollEventCtl
impl Ord for EpollEventCtl
§impl PartialEq for EpollEventCtl
impl PartialEq for EpollEventCtl
§fn eq(&self, other: &EpollEventCtl) -> bool
fn eq(&self, other: &EpollEventCtl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for EpollEventCtl
impl PartialOrd for EpollEventCtl
§fn partial_cmp(&self, other: &EpollEventCtl) -> Option<Ordering>
fn partial_cmp(&self, other: &EpollEventCtl) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more§impl Serialize for EpollEventCtl
impl Serialize for EpollEventCtl
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for EpollEventCtl
impl Eq for EpollEventCtl
impl StructuralPartialEq for EpollEventCtl
Auto Trait Implementations§
impl Freeze for EpollEventCtl
impl RefUnwindSafe for EpollEventCtl
impl Send for EpollEventCtl
impl Sync for EpollEventCtl
impl Unpin for EpollEventCtl
impl UnwindSafe for EpollEventCtl
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> Upcastable for T
impl<T> Upcastable for T
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
§impl<T> Upcastable for T
impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref
§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn