Trait internet2::UrlString[][src]

pub trait UrlString {
    fn url_scheme(&self) -> &'static str;
fn to_url_string(&self) -> String; }
Expand description

Trait used by different address types (transport-, session- and presentation-based) for getting scheme part of the URL

Required methods

Returns full URL scheme string (i.e. including : or :// parts) corresponding to the provided address

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).

Implementors