[][src]Enum proc_mounts::AbstractMountElement

pub enum AbstractMountElement {
    Comment(String),
    Empty,
    Mount(MountInfo),
}

An element in an abtract representation of the mount tab that was read into memory.

Variants

Comment(String)

An element which is a comment

Empty

An element which is an empty line.

Mount(MountInfo)

An element which defines a mount point

Trait Implementations

impl From<String> for AbstractMountElement[src]

impl From<()> for AbstractMountElement[src]

impl From<MountInfo> for AbstractMountElement[src]

impl Clone for AbstractMountElement[src]

impl Eq for AbstractMountElement[src]

impl PartialEq<AbstractMountElement> for AbstractMountElement[src]

impl Display for AbstractMountElement[src]

impl Debug for AbstractMountElement[src]

impl StructuralPartialEq for AbstractMountElement[src]

impl StructuralEq for AbstractMountElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]