#[repr(C)]pub struct SubscriptionFsReadwrite {
pub file_descriptor: Fd,
}
Expand description
The contents of a subscription
when the variant is
eventtype::fd_read
or eventtype::fd_write
.
Fields§
§file_descriptor: Fd
The file descriptor on which to wait for it to become ready for reading or writing.
Trait Implementations§
source§impl Clone for SubscriptionFsReadwrite
impl Clone for SubscriptionFsReadwrite
source§fn clone(&self) -> SubscriptionFsReadwrite
fn clone(&self) -> SubscriptionFsReadwrite
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 SubscriptionFsReadwrite
impl Debug for SubscriptionFsReadwrite
source§impl ValueType for SubscriptionFsReadwrite
impl ValueType for SubscriptionFsReadwrite
source§fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])
fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])
This method is passed a byte slice which contains the byte
representation of
self
. It must zero out any bytes which are
uninitialized (e.g. padding bytes).impl Copy for SubscriptionFsReadwrite
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionFsReadwrite
impl Send for SubscriptionFsReadwrite
impl Sync for SubscriptionFsReadwrite
impl Unpin for SubscriptionFsReadwrite
impl UnwindSafe for SubscriptionFsReadwrite
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.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer