Enum libnotify::NotificationCreationError [] [src]

pub enum NotificationCreationError {
    NulError(NulError),
    Unknown,
}

An error that can happen when attempting to create a notification.

Variants

NulError

A nul byte was found in the provided string.

Unknown

An unknown error happened.

Trait Implementations

impl Display for NotificationCreationError

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

impl From<NulError> for NotificationCreationError

fn from(src: NulError) -> Self

impl Error for NotificationCreationError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for NotificationCreationError

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