Struct FileDescriptorStoreEntry
pub struct FileDescriptorStoreEntry {
pub name: String,
pub mode: u32,
pub device_major: u32,
pub device_minor: u32,
pub inode: u64,
pub rdev_major: u32,
pub rdev_minor: u32,
pub path: String,
pub flags: u32,
}Expand description
An entry of the file descriptor store of a unit.
The fields come from fstat and fcntl calls that the manager makes on the
stored descriptor.
Fields§
§name: StringThe name of the descriptor.
mode: u32The file type and mode (st_mode).
device_major: u32The major number of the device of the file.
device_minor: u32The minor number of the device of the file.
inode: u64The inode number.
rdev_major: u32The major number of the device, if the file is a device node.
rdev_minor: u32The minor number of the device, if the file is a device node.
path: StringThe path of the file, or an empty string if unknown.
flags: u32The file status flags (F_GETFL).
Trait Implementations§
§impl Clone for FileDescriptorStoreEntry
impl Clone for FileDescriptorStoreEntry
§fn clone(&self) -> FileDescriptorStoreEntry
fn clone(&self) -> FileDescriptorStoreEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FileDescriptorStoreEntry
impl Debug for FileDescriptorStoreEntry
§impl<'de> Deserialize<'de> for FileDescriptorStoreEntry
impl<'de> Deserialize<'de> for FileDescriptorStoreEntry
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileDescriptorStoreEntry
§impl PartialEq for FileDescriptorStoreEntry
impl PartialEq for FileDescriptorStoreEntry
§impl Serialize for FileDescriptorStoreEntry
impl Serialize for FileDescriptorStoreEntry
impl StructuralPartialEq for FileDescriptorStoreEntry
§impl Type for FileDescriptorStoreEntry
impl Type for FileDescriptorStoreEntry
Auto Trait Implementations§
impl Freeze for FileDescriptorStoreEntry
impl RefUnwindSafe for FileDescriptorStoreEntry
impl Send for FileDescriptorStoreEntry
impl Sync for FileDescriptorStoreEntry
impl Unpin for FileDescriptorStoreEntry
impl UnsafeUnpin for FileDescriptorStoreEntry
impl UnwindSafe for FileDescriptorStoreEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.