pub enum SbError {
Show 14 variants
TimeOut,
NoMessage,
BadArgument,
MaxPipesMet,
PipeCrErr,
PipeRdErr,
MsgTooBig,
BufAllocErr,
MaxMsgsMet,
MaxDestsMet,
InternalErr,
WrongMsgType,
BufferInvalid,
NotImplemented,
}Expand description
CFE Software Bus errors.
Variants§
TimeOut
The receive operation timed out.
NoMessage
No message is available on the pipe.
BadArgument
A bad argument was provided.
MaxPipesMet
The maximum number of pipes has been reached.
PipeCrErr
Failed to create a pipe.
PipeRdErr
Failed to read from a pipe.
MsgTooBig
The message exceeds the maximum allowed size.
BufAllocErr
The SB message buffer pool has been depleted.
MaxMsgsMet
The maximum number of messages has been reached.
MaxDestsMet
The maximum number of destinations has been reached.
InternalErr
An internal SB error occurred.
WrongMsgType
The message type is incorrect for the operation.
BufferInvalid
The buffer reference is invalid.
NotImplemented
The requested function is not implemented.
Trait Implementations§
Source§impl Error for SbError
impl Error for SbError
1.30.0 · 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()
impl Copy for SbError
impl Eq for SbError
impl StructuralPartialEq for SbError
Auto Trait Implementations§
impl Freeze for SbError
impl RefUnwindSafe for SbError
impl Send for SbError
impl Sync for SbError
impl Unpin for SbError
impl UnsafeUnpin for SbError
impl UnwindSafe for SbError
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