Add remaining missing documentation
This commit is contained in:
parent
6251e0ad5c
commit
d282d2cd50
@ -51,6 +51,7 @@ impl fmt::Display for ContextCreationError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
/// An error that can happen when attempting to create a notification.
|
||||||
pub enum NotificationCreationError {
|
pub enum NotificationCreationError {
|
||||||
/// A nul byte was found in the provided string.
|
/// A nul byte was found in the provided string.
|
||||||
NulError(ffi::NulError),
|
NulError(ffi::NulError),
|
||||||
@ -179,6 +180,7 @@ impl<'a> Notification<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// An error that can happen when attempting to show a notification.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct NotificationShowError {
|
pub struct NotificationShowError {
|
||||||
message: String,
|
message: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user