pub enum Error {
Show 13 variants
BufferTooSmall,
InvalidHeader,
InvalidSubmessage,
EncodingError,
DecodingError,
TransportError,
NotInitialized,
EntityNotFound,
InvalidParameter,
ResourceExhausted,
Timeout,
InvalidData,
InvalidEncoding,
}Expand description
Error type for HDDS Micro
Variants§
BufferTooSmall
Buffer too small for operation
InvalidHeader
Invalid RTPS header
InvalidSubmessage
Invalid submessage
EncodingError
CDR encoding error
DecodingError
CDR decoding error
TransportError
Transport error
NotInitialized
Participant not initialized
EntityNotFound
Entity not found
InvalidParameter
Invalid parameter
ResourceExhausted
Resource exhausted (history full, etc.)
Timeout
Operation timed out
InvalidData
Invalid or corrupted data
InvalidEncoding
Invalid encoding (e.g., unknown enum discriminator)
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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