Enum webrtc_dtls::crypto::padding::DtlsPadding
source · pub enum DtlsPadding {}
Trait Implementations§
source§impl RawPadding for DtlsPadding
impl RawPadding for DtlsPadding
Reference: RFC5246, 6.2.3.2
Auto Trait Implementations§
impl Freeze for DtlsPadding
impl RefUnwindSafe for DtlsPadding
impl Send for DtlsPadding
impl Sync for DtlsPadding
impl Unpin for DtlsPadding
impl UnwindSafe for DtlsPadding
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T, B> Padding<B> for T
impl<T, B> Padding<B> for T
source§fn pad(block: &mut GenericArray<u8, B>, pos: usize)
fn pad(block: &mut GenericArray<u8, B>, pos: usize)
Pads
block
filled with data up to pos
(i.e length of a message
stored in the block is equal to pos
). Read moresource§fn unpad(block: &GenericArray<u8, B>) -> Result<&[u8], UnpadError>
fn unpad(block: &GenericArray<u8, B>) -> Result<&[u8], UnpadError>
Unpad data in the
block
. Read moresource§fn unpad_blocks(
blocks: &[GenericArray<u8, BlockSize>]
) -> Result<&[u8], UnpadError>
fn unpad_blocks( blocks: &[GenericArray<u8, BlockSize>] ) -> Result<&[u8], UnpadError>
Unpad data in the
blocks
. Read more