Trait cypher::display::MultiDisplay

source ·
pub trait MultiDisplay<F> {
    type Display: Display;

    // Required method
    fn display_fmt(&self, f: &F) -> Self::Display;

    // Provided method
    fn display(&self) -> Self::Display
       where F: Default { ... }
}

Required Associated Types§

Required Methods§

source

fn display_fmt(&self, f: &F) -> Self::Display

Provided Methods§

source

fn display(&self) -> Self::Display
where F: Default,

Implementations on Foreign Types§

source§

impl MultiDisplay<Encoding> for PublicKey

Available on crate feature ed25519 only.
§

type Display = String

source§

fn display_fmt(&self, f: &Encoding) -> Self::Display

source§

impl MultiDisplay<Encoding> for Signature

Available on crate feature ed25519 only.
§

type Display = String

source§

fn display_fmt(&self, f: &Encoding) -> Self::Display

source§

impl MultiDisplay<Encoding> for PublicKey

Available on crate feature x25519 only.

Implementors§

source§

impl MultiDisplay<Encoding> for cypher::ed25519::PublicKey

Available on crate feature ed25519 only.
source§

impl MultiDisplay<Encoding> for cypher::ed25519::Signature

Available on crate feature ed25519 only.
source§

impl MultiDisplay<Encoding> for cypher::x25519::PublicKey

Available on crate feature x25519 only.
source§

impl<S> MultiDisplay<CertFormat> for Cert<S>