pub enum PeerAddressParseError {
MissingTransportScheme {
input: String,
},
UnknownTransport {
input: String,
scheme: String,
},
}Expand description
Error parsing a typed PeerAddress from its URI-shaped string form.
Variants§
Trait Implementations§
Source§impl Clone for PeerAddressParseError
impl Clone for PeerAddressParseError
Source§fn clone(&self) -> PeerAddressParseError
fn clone(&self) -> PeerAddressParseError
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 PeerAddressParseError
impl Debug for PeerAddressParseError
Source§impl Display for PeerAddressParseError
impl Display for PeerAddressParseError
impl Eq for PeerAddressParseError
Source§impl Error for PeerAddressParseError
impl Error for PeerAddressParseError
1.30.0 · 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()
Source§impl PartialEq for PeerAddressParseError
impl PartialEq for PeerAddressParseError
Source§fn eq(&self, other: &PeerAddressParseError) -> bool
fn eq(&self, other: &PeerAddressParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PeerAddressParseError
Auto Trait Implementations§
impl Freeze for PeerAddressParseError
impl RefUnwindSafe for PeerAddressParseError
impl Send for PeerAddressParseError
impl Sync for PeerAddressParseError
impl Unpin for PeerAddressParseError
impl UnsafeUnpin for PeerAddressParseError
impl UnwindSafe for PeerAddressParseError
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§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.