pub struct AwsLcRsRandom;Expand description
AWS-LC-RS’s operating-system-backed secure random source.
Trait Implementations§
Source§impl Default for AwsLcRsRandom
impl Default for AwsLcRsRandom
Source§impl RTCRandom for AwsLcRsRandom
impl RTCRandom for AwsLcRsRandom
Source§fn fill(&self, output: &mut [u8]) -> Result<(), CryptoError>
fn fill(&self, output: &mut [u8]) -> Result<(), CryptoError>
Fills all of
output with random bytes.Source§fn fill_secret(&self, output: &mut [u8]) -> Result<(), CryptoError>
fn fill_secret(&self, output: &mut [u8]) -> Result<(), CryptoError>
Fills all of
output with random bytes that become a secret key (a cookie secret, a
ticket key), from a source that keeps no copy of them. Read moreAuto Trait Implementations§
impl Forget for AwsLcRsRandom
impl Freeze for AwsLcRsRandom
impl Move for AwsLcRsRandom
impl RefUnwindSafe for AwsLcRsRandom
impl Send for AwsLcRsRandom
impl Sync for AwsLcRsRandom
impl Unpin for AwsLcRsRandom
impl UnsafeUnpin for AwsLcRsRandom
impl UnwindSafe for AwsLcRsRandom
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more