Struct libc::nfs_args

source ·
#[repr(C)]
pub struct nfs_args {
Show 22 fields pub version: c_int, pub addr: *mut sockaddr, pub addrlen: c_int, pub sotype: c_int, pub proto: c_int, pub fh: *mut c_uchar, pub fhsize: c_int, pub flags: c_int, pub wsize: c_int, pub rsize: c_int, pub readdirsize: c_int, pub timeo: c_int, pub retrans: c_int, pub maxgrouplist: c_int, pub readahead: c_int, pub leaseterm: c_int, pub deadthresh: c_int, pub hostname: *mut c_char, pub acregmin: c_int, pub acregmax: c_int, pub acdirmin: c_int, pub acdirmax: c_int,
}

Fields§

§version: c_int§addr: *mut sockaddr§addrlen: c_int§sotype: c_int§proto: c_int§fh: *mut c_uchar§fhsize: c_int§flags: c_int§wsize: c_int§rsize: c_int§readdirsize: c_int§timeo: c_int§retrans: c_int§maxgrouplist: c_int§readahead: c_int§leaseterm: c_int§deadthresh: c_int§hostname: *mut c_char§acregmin: c_int§acregmax: c_int§acdirmin: c_int§acdirmax: c_int

Trait Implementations§

source§

impl Clone for nfs_args

source§

fn clone(&self) -> nfs_args

Returns a copy of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
source§

impl Debug for nfs_args

source§

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

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

impl Hash for nfs_args

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given [Hasher]. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given [Hasher]. Read more
source§

impl PartialEq<nfs_args> for nfs_args

source§

fn eq(&self, other: &nfs_args) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for nfs_args

source§

impl Eq for nfs_args

source§

impl StructuralEq for nfs_args

source§

impl StructuralPartialEq for nfs_args

Auto Trait Implementations§

§

impl RefUnwindSafe for nfs_args

§

impl !Send for nfs_args

§

impl !Sync for nfs_args

§

impl Unpin for nfs_args

§

impl UnwindSafe for nfs_args

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.