[][src]Struct mklink::link_error::LinkError

pub struct LinkError<E> {
    pub error: E,
    pub target: bool,
    pub link: bool,
    pub program: Option<String>,
}

Fields

error: Etarget: boollink: boolprogram: Option<String>

Methods

impl<E> LinkError<E>[src]

pub fn map<E2, F: FnOnce(E) -> E2>(self, f: F) -> LinkError<E2>[src]

pub fn both(error: E) -> LinkError<E>[src]

pub fn target(error: E) -> LinkError<E>[src]

pub fn none(error: E) -> LinkError<E>[src]

pub fn program(error: E, program: &str) -> LinkError<E>[src]

Trait Implementations

impl<E: Debug> Debug for LinkError<E>[src]

impl<E> Serialize for LinkError<E> where
    E: Serialize
[src]

impl<'de, E> Deserialize<'de> for LinkError<E> where
    E: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<E> Send for LinkError<E> where
    E: Send

impl<E> Sync for LinkError<E> where
    E: Sync

impl<E> Unpin for LinkError<E> where
    E: Unpin

impl<E> UnwindSafe for LinkError<E> where
    E: UnwindSafe

impl<E> RefUnwindSafe for LinkError<E> where
    E: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for T[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]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]