Enum libnotify::ContextCreationError [] [src]

pub enum ContextCreationError {
    AlreadyExists,
    InitError,
    NulError(NulError),
}

Error that can happen on context creation

Variants

AlreadyExists

Context already exists.

InitError

Failed to initialize libnotify.

NulError

A nul byte was found in the provided string.

Trait Implementations

impl Display for ContextCreationError

fn fmt(&self, f: &mut Formatter) -> Result

impl From<NulError> for ContextCreationError

fn from(src: NulError) -> Self

Derived Implementations

impl Debug for ContextCreationError

fn fmt(&self, __arg_0: &mut Formatter) -> Result