Struct nvim_gtk::nvim::NvimInitError[][src]

pub struct NvimInitError {
    source: Box<dyn Error>,
    cmd: Option<String>,
}

Fields

source: Box<dyn Error>cmd: Option<String>

Implementations

impl NvimInitError[src]

pub fn new_post_init<E>(error: E) -> NvimInitError where
    E: Into<Box<dyn Error>>, 
[src]

pub fn new<E>(cmd: &Command, error: E) -> NvimInitError where
    E: Into<Box<dyn Error>>, 
[src]

pub fn source(&self) -> String[src]

pub fn cmd(&self) -> Option<&String>[src]

Trait Implementations

impl Debug for NvimInitError[src]

impl Display for NvimInitError[src]

impl Error for NvimInitError[src]

Auto Trait Implementations

impl !RefUnwindSafe for NvimInitError

impl !Send for NvimInitError

impl !Sync for NvimInitError

impl Unpin for NvimInitError

impl !UnwindSafe for NvimInitError

Blanket Implementations

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

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

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

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

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

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.