pub struct SecretDecoderState { /* private fields */ }Expand description
Public metadata and fixed-work core shared by secret decode frames.
The state is deliberately not directly constructible. Use
super::secret::SecretArrayFrame, super::secret::SecretFrame, or
SecretVecFrame; those owners bind the state to disjoint private staging
and final output for the complete operation.
Implementations§
Source§impl SecretDecoderState
impl SecretDecoderState
Sourcepub const fn maximum_decoded_len(&self) -> usize
pub const fn maximum_decoded_len(&self) -> usize
Returns the public maximum decoded bytes.
Sourcepub const fn maximum_encoded_len(&self) -> usize
pub const fn maximum_encoded_len(&self) -> usize
Returns the public maximum encoded bytes for this padding policy.
Trait Implementations§
Source§impl Debug for SecretDecoderState
impl Debug for SecretDecoderState
Source§impl Drop for SecretDecoderState
impl Drop for SecretDecoderState
Auto Trait Implementations§
impl Freeze for SecretDecoderState
impl RefUnwindSafe for SecretDecoderState
impl Send for SecretDecoderState
impl Sync for SecretDecoderState
impl Unpin for SecretDecoderState
impl UnsafeUnpin for SecretDecoderState
impl UnwindSafe for SecretDecoderState
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