Trait cipher::Counter

source ·
pub trait Counter: TryFrom<i32> + TryFrom<u32> + TryFrom<u64> + TryFrom<u128> + TryFrom<usize> + TryInto<i32> + TryInto<u32> + TryInto<u64> + TryInto<u128> + TryInto<usize> { }
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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Counter for u32

source§

impl Counter for u64

source§

impl Counter for u128

Implementors§