Struct PRIOMethods

Source
#[repr(C)]
pub struct PRIOMethods {
Show 36 fields pub file_type: PRDescType, pub close: PRCloseFN, pub read: PRReadFN, pub write: PRWriteFN, pub available: PRAvailableFN, pub available64: PRAvailable64FN, pub fsync: PRFsyncFN, pub seek: PRSeekFN, pub seek64: PRSeek64FN, pub fileInfo: PRFileInfoFN, pub fileInfo64: PRFileInfo64FN, pub writev: PRWritevFN, pub connect: PRConnectFN, pub accept: PRAcceptFN, pub bind: PRBindFN, pub listen: PRListenFN, pub shutdown: PRShutdownFN, pub recv: PRRecvFN, pub send: PRSendFN, pub recvfrom: PRRecvfromFN, pub sendto: PRSendtoFN, pub poll: PRPollFN, pub acceptread: PRAcceptreadFN, pub transmitfile: PRTransmitfileFN, pub getsockname: PRGetsocknameFN, pub getpeername: PRGetpeernameFN, pub reserved_fn_6: PRReservedFN, pub reserved_fn_5: PRReservedFN, pub getsocketoption: PRGetsocketoptionFN, pub setsocketoption: PRSetsocketoptionFN, pub sendfile: PRSendfileFN, pub connectcontinue: PRConnectcontinueFN, pub reserved_fn_3: PRReservedFN, pub reserved_fn_2: PRReservedFN, pub reserved_fn_1: PRReservedFN, pub reserved_fn_0: PRReservedFN,
}

Fields§

§file_type: PRDescType§close: PRCloseFN§read: PRReadFN§write: PRWriteFN§available: PRAvailableFN§available64: PRAvailable64FN§fsync: PRFsyncFN§seek: PRSeekFN§seek64: PRSeek64FN§fileInfo: PRFileInfoFN§fileInfo64: PRFileInfo64FN§writev: PRWritevFN§connect: PRConnectFN§accept: PRAcceptFN§bind: PRBindFN§listen: PRListenFN§shutdown: PRShutdownFN§recv: PRRecvFN§send: PRSendFN§recvfrom: PRRecvfromFN§sendto: PRSendtoFN§poll: PRPollFN§acceptread: PRAcceptreadFN§transmitfile: PRTransmitfileFN§getsockname: PRGetsocknameFN§getpeername: PRGetpeernameFN§reserved_fn_6: PRReservedFN§reserved_fn_5: PRReservedFN§getsocketoption: PRGetsocketoptionFN§setsocketoption: PRSetsocketoptionFN§sendfile: PRSendfileFN§connectcontinue: PRConnectcontinueFN§reserved_fn_3: PRReservedFN§reserved_fn_2: PRReservedFN§reserved_fn_1: PRReservedFN§reserved_fn_0: PRReservedFN

Trait Implementations§

Source§

impl Clone for PRIOMethods

Source§

fn clone(&self) -> PRIOMethods

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PRIOMethods

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for PRIOMethods

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.