pub struct OmenaResolverErrorV0 {
pub kind: OmenaResolverErrorKindV0,
pub kind_name: &'static str,
pub message: String,
}Expand description
Resolver protocol error.
Fields§
§kind: OmenaResolverErrorKindV0§kind_name: &'static str§message: StringImplementations§
Source§impl OmenaResolverErrorV0
impl OmenaResolverErrorV0
pub fn new(kind: OmenaResolverErrorKindV0, message: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for OmenaResolverErrorV0
impl Clone for OmenaResolverErrorV0
Source§fn clone(&self) -> OmenaResolverErrorV0
fn clone(&self) -> OmenaResolverErrorV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OmenaResolverErrorV0
impl Debug for OmenaResolverErrorV0
impl Eq for OmenaResolverErrorV0
Source§impl PartialEq for OmenaResolverErrorV0
impl PartialEq for OmenaResolverErrorV0
Source§fn eq(&self, other: &OmenaResolverErrorV0) -> bool
fn eq(&self, other: &OmenaResolverErrorV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OmenaResolverErrorV0
impl Serialize for OmenaResolverErrorV0
impl StructuralPartialEq for OmenaResolverErrorV0
Auto Trait Implementations§
impl Freeze for OmenaResolverErrorV0
impl RefUnwindSafe for OmenaResolverErrorV0
impl Send for OmenaResolverErrorV0
impl Sync for OmenaResolverErrorV0
impl Unpin for OmenaResolverErrorV0
impl UnsafeUnpin for OmenaResolverErrorV0
impl UnwindSafe for OmenaResolverErrorV0
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.