pub enum Error {
Show 19 variants
NotImplemented,
NoCommunicator(String),
NoZenohSession,
InvalidSelector(String),
CreateCommunicator {
source: Box<dyn Error + Send + Sync>,
},
AccessPublisher,
MutexPoison(String),
PublishingPut {
source: Box<dyn Error + Send + Sync>,
},
PublishingDelete {
source: Box<dyn Error + Send + Sync>,
},
QueryCreation {
source: Box<dyn Error + Send + Sync>,
},
QueryCallback {
source: Box<dyn Error + Send + Sync>,
},
ReadAccess(String),
ModifyStruct(String),
SubscriberCreation {
source: Box<dyn Error + Send + Sync>,
},
SubscriberCallback {
source: Box<dyn Error + Send + Sync>,
},
AccessingQuerier {
selector: String,
},
AccessingQueryable {
selector: String,
},
AccessingObservable {
selector: String,
},
UnknownProtocol {
protocol: String,
},
}Expand description
dimas-com error type.
Variants§
NotImplemented
Not available/implemented
NoCommunicator(String)
no communicator for that id
NoZenohSession
No zenoh available/implemented
InvalidSelector(String)
Invalid selector
CreateCommunicator
Creation of the Communicator was not possible
AccessPublisher
Accessing a Publisher failed
MutexPoison(String)
A Mutex is poisoned.
PublishingPut
Publishing a Message via put failed
PublishingDelete
Publishing a Message via delete failed
QueryCreation
Creation of a Query failed
QueryCallback
Callback of a Query failed
ReadAccess(String)
read access failed
ModifyStruct(String)
write access failed
SubscriberCreation
Creation of a Subscriber failed
SubscriberCallback
Callback of a Subscriber failed
AccessingQuerier
Accessing the Querier failed.
AccessingQueryable
Accessing the Queryable failed.
AccessingObservable
Accessing the Observable for a Observer failed.
UnknownProtocol
Found unknown communication protocol
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)>
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()
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more