pub enum DDSError {
Show 14 variants
DdsOk,
DdsError,
Unsupported,
BadParameter,
PreconditionNotMet,
OutOfResources,
NotEnabled,
ImmutablePolicy,
InconsistentPolicy,
AlreadyDeleted,
Timeout,
NoData,
IllegalOperation,
NotAllowedBySecurity,
}Variants§
DdsOk
DdsError
Unsupported
BadParameter
PreconditionNotMet
OutOfResources
NotEnabled
ImmutablePolicy
InconsistentPolicy
AlreadyDeleted
Timeout
NoData
IllegalOperation
NotAllowedBySecurity
Trait Implementations§
Source§impl Error for DDSError
impl Error for DDSError
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()
Source§impl From<i32> for DDSError
These constants are defined in ddsrt/retcode.h. bindgen doesn’t see these macros
and hence they are redefined here.DDSError
Bad things will happen if these go out of sync
impl From<i32> for DDSError
These constants are defined in ddsrt/retcode.h. bindgen doesn’t see these macros and hence they are redefined here.DDSError Bad things will happen if these go out of sync
Source§fn from(entity: dds_return_t) -> Self
fn from(entity: dds_return_t) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DDSError
Auto Trait Implementations§
impl Freeze for DDSError
impl RefUnwindSafe for DDSError
impl Send for DDSError
impl Sync for DDSError
impl Unpin for DDSError
impl UnwindSafe for DDSError
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