Enum swayipc_types::Error [−][src]
#[non_exhaustive]
pub enum Error {
Io(Error),
SerdeJson(Error),
InvalidMagic([u8; 6]),
InvalidCommandType(u32, u32),
UnimplementedEvent(u32, Vec<u8>),
SubscriptionFailed(String),
CommandFailed(String),
CommandParse(String),
}
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
SerdeJson(Error)
Tuple Fields
0: Error
InvalidMagic([u8; 6])
InvalidCommandType(u32, u32)
UnimplementedEvent(u32, Vec<u8>)
SubscriptionFailed(String)
Tuple Fields
0: String
CommandFailed(String)
Tuple Fields
0: String
CommandParse(String)
Tuple Fields
0: String