Enum bp7::eid::EndpointIdError
source · pub enum EndpointIdError {
SchemeMissing,
SchemeMismatch(u8, u8),
UnknownScheme(String),
InvalidNodeNumber(u64),
WrongNumberOfFieldsInIpn(usize),
InvalidService(String),
NoneHasNoService,
NoneNotZero,
InvalidUrlFormat,
NoneNotValidHost,
CouldNotParseNumber(ParseIntError),
Unknown,
}
Variants§
SchemeMissing
SchemeMismatch(u8, u8)
UnknownScheme(String)
InvalidNodeNumber(u64)
WrongNumberOfFieldsInIpn(usize)
InvalidService(String)
NoneHasNoService
NoneNotZero
InvalidUrlFormat
NoneNotValidHost
CouldNotParseNumber(ParseIntError)
Unknown
Trait Implementations§
source§impl Clone for EndpointIdError
impl Clone for EndpointIdError
source§fn clone(&self) -> EndpointIdError
fn clone(&self) -> EndpointIdError
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 EndpointIdError
impl Debug for EndpointIdError
source§impl Display for EndpointIdError
impl Display for EndpointIdError
source§impl Error for EndpointIdError
impl Error for EndpointIdError
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<EndpointIdError> for Error
impl From<EndpointIdError> for Error
source§fn from(source: EndpointIdError) -> Self
fn from(source: EndpointIdError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for EndpointIdError
impl From<ParseIntError> for EndpointIdError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl PartialEq for EndpointIdError
impl PartialEq for EndpointIdError
source§fn eq(&self, other: &EndpointIdError) -> bool
fn eq(&self, other: &EndpointIdError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointIdError
Auto Trait Implementations§
impl RefUnwindSafe for EndpointIdError
impl Send for EndpointIdError
impl Sync for EndpointIdError
impl Unpin for EndpointIdError
impl UnwindSafe for EndpointIdError
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