Struct procfs::keyring::KeyUser

source ·
pub struct KeyUser {
    pub uid: u32,
    pub usage: u32,
    pub nkeys: u32,
    pub nikeys: u32,
    pub qnkeys: u32,
    pub maxkeys: u32,
    pub qnbytes: u32,
    pub maxbytes: u32,
}
Expand description

Information about a user with at least one key

Fields§

§uid: u32

The user that owns the key

§usage: u32

The kernel-internal usage count for the kernel structure used to record key users

§nkeys: u32

The total number of keys owned by the user

§nikeys: u32

THe number of keys that have been instantiated

§qnkeys: u32

The number of keys owned by the user

§maxkeys: u32

The maximum number of keys that the user may own

§qnbytes: u32

The number of bytes consumed in playloads of the keys owned by this user

§maxbytes: u32

The upper limit on the number of bytes in key payloads for this user

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.