Enum ros2_client::ros2::CreateError
source · pub enum CreateError {
ResourceDropped {
reason: String,
},
Poisoned {
reason: String,
},
Io(Error),
TopicKind(TopicKind),
Internal {
reason: String,
},
BadParameter {
reason: String,
},
OutOfResources {
reason: String,
},
}
Expand description
Error type for object creation operations.
Variants§
ResourceDropped
Poisoned
Io(Error)
TopicKind(TopicKind)
Internal
Something that should not go wrong went wrong anyway. This is usually a bug in RustDDS
BadParameter
OutOfResources
Trait Implementations§
source§impl Debug for CreateError
impl Debug for CreateError
source§impl Display for CreateError
impl Display for CreateError
source§impl Error for CreateError
impl Error for CreateError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for CreateError
impl From<Error> for CreateError
source§fn from(source: Error) -> CreateError
fn from(source: Error) -> CreateError
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for CreateError
impl<T> From<PoisonError<T>> for CreateError
source§fn from(poison_error: PoisonError<T>) -> CreateError
fn from(poison_error: PoisonError<T>) -> CreateError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CreateError
impl Send for CreateError
impl Sync for CreateError
impl Unpin for CreateError
impl !UnwindSafe for CreateError
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