pub struct CodecForwardReader<'a, T: AsyncReadExt + Unpin + Send, D: Decryptor>(/* private fields */);Implementations§
Source§impl<'a, T: AsyncReadExt + Send + Unpin, D: Decryptor> CodecForwardReader<'a, T, D>
impl<'a, T: AsyncReadExt + Send + Unpin, D: Decryptor> CodecForwardReader<'a, T, D>
pub fn new(reader: &'a mut T, decryptor: D) -> Self
pub fn with_checksum_key(self, key: AesKeyType) -> Self
Trait Implementations§
Source§impl<'a, T: AsyncReadExt + Send + Unpin, D: Decryptor> ForwardReader for CodecForwardReader<'a, T, D>
impl<'a, T: AsyncReadExt + Send + Unpin, D: Decryptor> ForwardReader for CodecForwardReader<'a, T, D>
Auto Trait Implementations§
impl<'a, T, D> !UnwindSafe for CodecForwardReader<'a, T, D>
impl<'a, T, D> Freeze for CodecForwardReader<'a, T, D>where
CodecMessageReader<'a, T, D>: Freeze,
impl<'a, T, D> RefUnwindSafe for CodecForwardReader<'a, T, D>where
CodecMessageReader<'a, T, D>: RefUnwindSafe,
impl<'a, T, D> Send for CodecForwardReader<'a, T, D>where
CodecMessageReader<'a, T, D>: Send,
impl<'a, T, D> Sync for CodecForwardReader<'a, T, D>where
CodecMessageReader<'a, T, D>: Sync,
impl<'a, T, D> Unpin for CodecForwardReader<'a, T, D>where
CodecMessageReader<'a, T, D>: Unpin,
impl<'a, T, D> UnsafeUnpin for CodecForwardReader<'a, T, D>where
CodecMessageReader<'a, T, D>: UnsafeUnpin,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more