Skip to main content

TagSize

Trait TagSize 

Source
pub trait TagSize: SealedTagSize { }
Expand description

Trait implemented for valid tag sizes, i.e. [U12][consts::U12], [U13][consts::U13], [U14][consts::U14], [U15][consts::U15] and [U16][consts::U16]. When the crate feature hazmat is enabled, [U4][consts::U4] and [U8][consts::U8] are also supported.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: SealedTagSize> TagSize for T