Enum hersir::controller::monitor::node::MockClientError
source · pub enum MockClientError {
InvalidRequest(String),
InvalidAddressFormat(String),
}
Variants§
Implementations§
Trait Implementations§
source§impl Debug for MockClientError
impl Debug for MockClientError
source§impl Display for MockClientError
impl Display for MockClientError
source§impl Error for MockClientError
impl Error for MockClientError
1.30.0 · 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<MockClientError> for Error
impl From<MockClientError> for Error
source§fn from(source: MockClientError) -> Self
fn from(source: MockClientError) -> Self
Converts to this type from the input type.
source§impl PartialEq<MockClientError> for MockClientError
impl PartialEq<MockClientError> for MockClientError
source§fn eq(&self, other: &MockClientError) -> bool
fn eq(&self, other: &MockClientError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MockClientError
impl StructuralEq for MockClientError
impl StructuralPartialEq for MockClientError
Auto Trait Implementations§
impl RefUnwindSafe for MockClientError
impl Send for MockClientError
impl Sync for MockClientError
impl Unpin for MockClientError
impl UnwindSafe for MockClientError
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request