Skip to main content

ShortFormat

Trait ShortFormat 

Source
pub trait ShortFormat {
    // Required method
    fn fmt_short(&self) -> String;
}
Expand description

Returns a displayable string representing the underlying value in a short format, easy to read during debugging and logging.

Required Methods§

Source

fn fmt_short(&self) -> String

Implementations on Foreign Types§

Source§

impl ShortFormat for Hash

Source§

impl ShortFormat for PublicKey

Implementors§