Trait 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.
Source§

impl MultiDisplay<Encoding> for Signature

Available on crate feature ed25519 only.
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>