[][src]Enum textwidth::XError

pub enum XError {
    DisplayOpen,
    CouldNotLoadFont(CString),
    NulError(NulError),
}

XError holds the X11 error message

Variants

DisplayOpen

No X11 display found

CouldNotLoadFont(CString)

The font could not be found

NulError(NulError)

This error is returned when the string you pass cannot be converted to a CString

Trait Implementations

impl Debug for XError[src]

impl Display for XError[src]

impl Error for XError[src]

impl From<NulError> for XError[src]

Auto Trait Implementations

impl RefUnwindSafe for XError

impl Send for XError

impl Sync for XError

impl Unpin for XError

impl UnwindSafe for XError

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.