pub struct ReadEarlyData<'c, 'i, Data> { /* private fields */ }Available on crate feature
net only.Expand description
Early application-data is available.
Implementationsยง
Sourceยงimpl<'c, 'i> ReadEarlyData<'c, 'i, ServerConnectionData>
impl<'c, 'i> ReadEarlyData<'c, 'i, ServerConnectionData>
Sourcepub fn next_record(&mut self) -> Option<Result<AppDataRecord<'_>, Error>>
pub fn next_record(&mut self) -> Option<Result<AppDataRecord<'_>, Error>>
decrypts and returns the next available app-data record
Trait Implementationsยง
Sourceยงimpl<'c, 'i, Data> From<ReadEarlyData<'c, 'i, Data>> for ConnectionState<'c, 'i, Data>
impl<'c, 'i, Data> From<ReadEarlyData<'c, 'i, Data>> for ConnectionState<'c, 'i, Data>
Sourceยงfn from(v: ReadEarlyData<'c, 'i, Data>) -> ConnectionState<'c, 'i, Data>
fn from(v: ReadEarlyData<'c, 'i, Data>) -> ConnectionState<'c, 'i, Data>
Converts to this type from the input type.
Auto Trait Implementationsยง
impl<'c, 'i, Data> Freeze for ReadEarlyData<'c, 'i, Data>
impl<'c, 'i, Data> !RefUnwindSafe for ReadEarlyData<'c, 'i, Data>
impl<'c, 'i, Data> Send for ReadEarlyData<'c, 'i, Data>where
Data: Send,
impl<'c, 'i, Data> Sync for ReadEarlyData<'c, 'i, Data>where
Data: Sync,
impl<'c, 'i, Data> Unpin for ReadEarlyData<'c, 'i, Data>
impl<'c, 'i, Data> !UnwindSafe for ReadEarlyData<'c, 'i, Data>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Sourceยงfn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request