Enum libp2p::multiaddr::FromUrlErr [−][src]
pub enum FromUrlErr {
BadUrl,
UnsupportedScheme,
InformationLoss,
}Expand description
Error while parsing an URL.
Variants
Failed to parse the URL.
The URL scheme was not recognized.
Some information in the URL would be lost. Never returned by from_url_lossy.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FromUrlErrimpl Send for FromUrlErrimpl Sync for FromUrlErrimpl Unpin for FromUrlErrimpl UnwindSafe for FromUrlErrBlanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V