pub trait Truncate {
    fn truncate(&self) -> Self;

    fn truncate_str(text: &str) -> &str { ... }
}
Expand description

This trait is implemented to allow truncated logging of secret data.

Required methods

Provided methods

Take the last 5 characters

Implementors