pub enum MessagingError {
PosixMessageQueueOpeningError {
location: String,
mq_name: String,
source: Error,
},
PosixMessageQueueAttributesError {
location: String,
source: Error,
},
UnknownDomain(String, i32),
ChannelSendError {
location: String,
source: AquaChannelError,
},
}Expand description
Enum codifies the errors which the program may encounter in communication with the Linux messaging system.
Variants§
PosixMessageQueueOpeningError
Error occurred when trying to open POSIX message queue.
PosixMessageQueueAttributesError
Error occurred when trying to access POSIX message queue attributes.
UnknownDomain(String, i32)
Unknown domain: Internal logic error
ChannelSendError
Error occurred when trying to send the message via the channel
Trait Implementations§
Source§impl Debug for MessagingError
impl Debug for MessagingError
Source§impl Display for MessagingError
impl Display for MessagingError
Source§impl Error for MessagingError
impl Error for MessagingError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MessagingError
impl !RefUnwindSafe for MessagingError
impl Send for MessagingError
impl Sync for MessagingError
impl Unpin for MessagingError
impl !UnwindSafe for MessagingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more