pub type SecretBoxBytesBuildError = SecretAllocationError;Expand description
Compatibility name for fixed-allocation build failures.
Aliased Type§
pub enum SecretBoxBytesBuildError {
TooLong {
maximum: usize,
actual: usize,
},
CapacityOverflow,
Allocation(TryReserveError),
}Variants§
TooLong
The requested public length exceeded the caller’s maximum.
CapacityOverflow
Arithmetic for the required allocation capacity overflowed.
Allocation(TryReserveError)
The allocator could not reserve the requested storage.