pub struct MessageThree<CS: CipherSuite>where
<CS::Hash as OutputSizeUser>::OutputSize: IsLess<U256> + IsLessOrEqual<<CS::Hash as BlockSizeUser>::BlockSize>,
CS::Hash: Hash,
<CS::Hash as CoreProxy>::Core: ProxyHash,
<<CS::Hash as CoreProxy>::Core as BlockSizeUser>::BlockSize: IsLess<U256>,
Le<<<CS::Hash as CoreProxy>::Core as BlockSizeUser>::BlockSize, U256>: NonZero,{ /* private fields */ }
Trait Implementations§
source§impl<CS: CipherSuite> EncodedSizeUser for MessageThree<CS>where
<CS::Hash as OutputSizeUser>::OutputSize: IsLess<U256> + IsLessOrEqual<<CS::Hash as BlockSizeUser>::BlockSize>,
CS::Hash: Hash,
<CS::Hash as CoreProxy>::Core: ProxyHash,
<<CS::Hash as CoreProxy>::Core as BlockSizeUser>::BlockSize: IsLess<U256>,
Le<<<CS::Hash as CoreProxy>::Core as BlockSizeUser>::BlockSize, U256>: NonZero,
<CS::Kem as KemCore>::CiphertextSize: Add<<<CS::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>,
Sum<<CS::Kem as KemCore>::CiphertextSize, <<CS::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>: ArraySize + Sub<<CS::Kem as KemCore>::CiphertextSize, Output = <<CS::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>,
impl<CS: CipherSuite> EncodedSizeUser for MessageThree<CS>where
<CS::Hash as OutputSizeUser>::OutputSize: IsLess<U256> + IsLessOrEqual<<CS::Hash as BlockSizeUser>::BlockSize>,
CS::Hash: Hash,
<CS::Hash as CoreProxy>::Core: ProxyHash,
<<CS::Hash as CoreProxy>::Core as BlockSizeUser>::BlockSize: IsLess<U256>,
Le<<<CS::Hash as CoreProxy>::Core as BlockSizeUser>::BlockSize, U256>: NonZero,
<CS::Kem as KemCore>::CiphertextSize: Add<<<CS::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>,
Sum<<CS::Kem as KemCore>::CiphertextSize, <<CS::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>: ArraySize + Sub<<CS::Kem as KemCore>::CiphertextSize, Output = <<CS::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>,
source§type EncodedSize = <<<CS as CipherSuite>::Kem as KemCore>::CiphertextSize as Add<<<<CS as CipherSuite>::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>>::Output
type EncodedSize = <<<CS as CipherSuite>::Kem as KemCore>::CiphertextSize as Add<<<<CS as CipherSuite>::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize>>::Output
The size of an encoded object
source§fn from_bytes(enc: &Encoded<Self>) -> Self
fn from_bytes(enc: &Encoded<Self>) -> Self
Parse an object from its encoded form
Auto Trait Implementations§
impl<CS> Freeze for MessageThree<CS>where
<<CS as CipherSuite>::Hash as CoreProxy>::Core: Sized,
<CS as CipherSuite>::Hash: Sized,
<<<CS as CipherSuite>::Kem as KemCore>::CiphertextSize as ArraySize>::ArrayType<u8>: Freeze,
<<<<CS as CipherSuite>::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: Freeze,
impl<CS> RefUnwindSafe for MessageThree<CS>where
<<CS as CipherSuite>::Hash as CoreProxy>::Core: Sized,
<CS as CipherSuite>::Hash: Sized,
<<<CS as CipherSuite>::Kem as KemCore>::CiphertextSize as ArraySize>::ArrayType<u8>: RefUnwindSafe,
<<<<CS as CipherSuite>::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: RefUnwindSafe,
impl<CS> Send for MessageThree<CS>
impl<CS> Sync for MessageThree<CS>
impl<CS> Unpin for MessageThree<CS>where
<<CS as CipherSuite>::Hash as CoreProxy>::Core: Sized,
<CS as CipherSuite>::Hash: Sized,
<<<CS as CipherSuite>::Kem as KemCore>::CiphertextSize as ArraySize>::ArrayType<u8>: Unpin,
<<<<CS as CipherSuite>::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: Unpin,
impl<CS> UnwindSafe for MessageThree<CS>where
<<CS as CipherSuite>::Hash as CoreProxy>::Core: Sized,
<CS as CipherSuite>::Hash: Sized,
<<<CS as CipherSuite>::Kem as KemCore>::CiphertextSize as ArraySize>::ArrayType<u8>: UnwindSafe,
<<<<CS as CipherSuite>::Hash as EagerHash>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: UnwindSafe,
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