#[non_exhaustive]pub enum Error {
Io(Error),
Serialize(Error),
Dynamic(Error),
AlreadyDeleted,
OutOfResources,
Timeout,
PreconditionNotMet,
Unsupported(&'static str),
Security(String),
}Expand description
Why a DCPS operation failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Io(Error)
The network could not be set up, a datagram could not be sent, or the file of a PERSISTENT writer could not be read or written.
Serialize(Error)
A sample could not be serialized.
Dynamic(Error)
A DynamicData sample could not be serialized, or a DynamicType cannot be used for a topic.
AlreadyDeleted
The participant was deleted.
OutOfResources
No more entity ids are left in the participant.
Timeout
The operation did not finish in time: a reliable writer had no
room in its history within max_blocking_time, or its readers
did not acknowledge in time.
PreconditionNotMet
The operation is not allowed in this state: unregistering an instance that is not registered.
Unsupported(&'static str)
Something not implemented or not built in was asked for.
Security(String)
DDS Security refused: the security documents could not be loaded or verified, or the permissions do not allow the operation.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()