Enum rgbwallet::TransportParseError
source · pub enum TransportParseError {
InvalidTransport(String),
InvalidTransportHost(String),
}Variants§
InvalidTransport(String)
invalid transport {0}.
InvalidTransportHost(String)
invalid transport host {0}.
Trait Implementations§
source§impl Clone for TransportParseError
impl Clone for TransportParseError
source§fn clone(&self) -> TransportParseError
fn clone(&self) -> TransportParseError
Returns a copy of the value. Read more
1.0.0 · 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 TransportParseError
impl Debug for TransportParseError
source§impl Display for TransportParseError
impl Display for TransportParseError
source§impl Error for TransportParseError
impl Error for TransportParseError
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<TransportParseError> for String
impl From<TransportParseError> for String
source§fn from(err: TransportParseError) -> Self
fn from(err: TransportParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for TransportParseError
impl PartialEq for TransportParseError
source§fn eq(&self, other: &TransportParseError) -> bool
fn eq(&self, other: &TransportParseError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TransportParseError
impl StructuralEq for TransportParseError
impl StructuralPartialEq for TransportParseError
Auto Trait Implementations§
impl RefUnwindSafe for TransportParseError
impl Send for TransportParseError
impl Sync for TransportParseError
impl Unpin for TransportParseError
impl UnwindSafe for TransportParseError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.