Add remaining missing documentation

This commit is contained in:
Mika Attila 2015-11-03 01:04:22 +01:00
parent 6251e0ad5c
commit d282d2cd50
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ impl fmt::Display for ContextCreationError {
}
#[derive(Debug)]
/// An error that can happen when attempting to create a notification.
pub enum NotificationCreationError {
/// A nul byte was found in the provided string.
NulError(ffi::NulError),
@ -179,6 +180,7 @@ impl<'a> Notification<'a> {
}
}
/// An error that can happen when attempting to show a notification.
#[derive(Debug)]
pub struct NotificationShowError {
message: String,