[−][src]Struct lfs_core::DeviceId
Id of a device, as can be found in MetadataExt.dev().
Note: I have absolutely no idea of the size of those parts and whether the u32 are the right containers
Fields
major: u32
minor: u32
Implementations
impl DeviceId
[src]
Trait Implementations
impl Clone for DeviceId
[src]
impl Copy for DeviceId
[src]
impl Debug for DeviceId
[src]
impl From<u64> for DeviceId
[src]
impl FromStr for DeviceId
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
this code is based on man 5 proc
and my stochastic interpretation
impl PartialEq<DeviceId> for DeviceId
[src]
impl StructuralPartialEq for DeviceId
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceId
impl Send for DeviceId
impl Sync for DeviceId
impl Unpin for DeviceId
impl UnwindSafe for DeviceId
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,