Struct REENTR

Source
#[repr(C)]
pub struct REENTR {
Show 44 fields pub _asctime_buffer: *mut c_char, pub _asctime_size: usize, pub _crypt_struct_buffer: *mut crypt_data, pub _ctime_buffer: *mut c_char, pub _ctime_size: usize, pub _grent_struct: group, pub _grent_buffer: *mut c_char, pub _grent_size: usize, pub _grent_ptr: *mut group, pub _hostent_struct: hostent, pub _hostent_buffer: *mut c_char, pub _hostent_size: usize, pub _hostent_ptr: *mut hostent, pub _hostent_errno: c_int, pub _getlogin_buffer: *mut c_char, pub _getlogin_size: usize, pub _netent_struct: netent, pub _netent_buffer: *mut c_char, pub _netent_size: usize, pub _netent_ptr: *mut netent, pub _netent_errno: c_int, pub _protoent_struct: protoent, pub _protoent_buffer: *mut c_char, pub _protoent_size: usize, pub _protoent_ptr: *mut protoent, pub _pwent_struct: passwd, pub _pwent_buffer: *mut c_char, pub _pwent_size: usize, pub _pwent_ptr: *mut passwd, pub _servent_struct: servent, pub _servent_buffer: *mut c_char, pub _servent_size: usize, pub _servent_ptr: *mut servent, pub _spent_struct: spwd, pub _spent_buffer: *mut c_char, pub _spent_size: usize, pub _spent_ptr: *mut spwd, pub _gmtime_struct: tm, pub _localtime_struct: tm, pub _strerror_buffer: *mut c_char, pub _strerror_size: usize, pub _ttyname_buffer: *mut c_char, pub _ttyname_size: usize, pub dummy: c_int,
}

Fields§

§_asctime_buffer: *mut c_char§_asctime_size: usize§_crypt_struct_buffer: *mut crypt_data§_ctime_buffer: *mut c_char§_ctime_size: usize§_grent_struct: group§_grent_buffer: *mut c_char§_grent_size: usize§_grent_ptr: *mut group§_hostent_struct: hostent§_hostent_buffer: *mut c_char§_hostent_size: usize§_hostent_ptr: *mut hostent§_hostent_errno: c_int§_getlogin_buffer: *mut c_char§_getlogin_size: usize§_netent_struct: netent§_netent_buffer: *mut c_char§_netent_size: usize§_netent_ptr: *mut netent§_netent_errno: c_int§_protoent_struct: protoent§_protoent_buffer: *mut c_char§_protoent_size: usize§_protoent_ptr: *mut protoent§_pwent_struct: passwd§_pwent_buffer: *mut c_char§_pwent_size: usize§_pwent_ptr: *mut passwd§_servent_struct: servent§_servent_buffer: *mut c_char§_servent_size: usize§_servent_ptr: *mut servent§_spent_struct: spwd§_spent_buffer: *mut c_char§_spent_size: usize§_spent_ptr: *mut spwd§_gmtime_struct: tm§_localtime_struct: tm§_strerror_buffer: *mut c_char§_strerror_size: usize§_ttyname_buffer: *mut c_char§_ttyname_size: usize§dummy: c_int

Trait Implementations§

Source§

impl Clone for REENTR

Source§

fn clone(&self) -> REENTR

Returns a copy 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 REENTR

Source§

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

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

impl Copy for REENTR

Auto Trait Implementations§

§

impl Freeze for REENTR

§

impl RefUnwindSafe for REENTR

§

impl !Send for REENTR

§

impl !Sync for REENTR

§

impl Unpin for REENTR

§

impl UnwindSafe for REENTR

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.