pub trait StreamCipherCounter:
TryFrom<i32>
+ TryFrom<u32>
+ TryFrom<u64>
+ TryFrom<u128>
+ TryFrom<usize>
+ TryInto<i32>
+ TryInto<u32>
+ TryInto<u64>
+ TryInto<u128>
+ TryInto<usize>
+ Copy {
// Required method
fn is_max(&self) -> bool;
}Expand description
Counter type usable with StreamCipherCore.
This trait is implemented for i32, u32, u64, u128, and usize.
It’s not intended to be implemented in third-party crates, but doing so
is not forbidden.
Required Methods§
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.