Trait Encodable

Source
pub trait Encodable {
    // Required methods
    fn to_uri_string(&self) -> String;
    fn to_dasherized_string(&self) -> String;
}
Expand description

Objects that can be encoded as CryptoUri

Required Methods§

Source

fn to_uri_string(&self) -> String

Encode this object in URI generic syntax

Source

fn to_dasherized_string(&self) -> String

Encode this object in URI-embeddable “dasherized” format

Implementors§