[−][src]Trait internet2::UrlString
Trait used by different address types (transport-, session- and presentation-based) for getting scheme part of the URL
Required methods
pub fn url_scheme(&self) -> &'static str
[src]
Returns full URL scheme string (i.e. including :
or ://
parts)
corresponding to the provided address
pub fn to_url_string(&self) -> String
[src]
Returns URL string representation for a given node or socket address. If
you need full URL address, please use [Url::from()
] instead (this
will require url
feature for LNP/BP Core Library).