Enum digest::core_api::TruncSide [−][src]
pub enum TruncSide {
Left,
Right,
}This is supported on crate feature
core-api only.Expand description
Type which used for defining truncation side in the VariableOutputCore
trait.
Variants
Left
Truncate left side, i.e. &out[..n].
Right
Truncate right side, i.e. &out[m..].
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TruncSide
impl UnwindSafe for TruncSide
Blanket Implementations
Mutably borrows from an owned value. Read more