Enum zbus_polkit::Error [−][src]
#[non_exhaustive]
pub enum Error {
Io(Error),
ParseInt(ParseIntError),
BadSender(Error),
MissingSender,
}
Expand description
The error type for zbus_polkit
.
The various errors that can be reported by this crate.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Io(Error)
Tuple Fields
0: Error
I/O errors.
ParseInt(ParseIntError)
Tuple Fields
Could not parse a number for a Process ID or an User ID.
BadSender(Error)
Tuple Fields
0: Error
Could not retrieve/deserialize sender header of the message.
MissingSender
Missing sender header in the message.
Trait Implementations
Performs the conversion.