Struct rustls::client::client_conn::EarlyData
source · pub(super) struct EarlyData {
state: EarlyDataState,
left: usize,
}
Fields§
§state: EarlyDataState
§left: usize
Implementations§
source§impl EarlyData
impl EarlyData
fn new() -> Self
pub(super) fn is_enabled(&self) -> bool
fn is_accepted(&self) -> bool
pub(super) fn enable(&mut self, max_data: usize)
pub(super) fn rejected(&mut self)
pub(super) fn accepted(&mut self)
pub(super) fn finished(&mut self)
fn check_write(&mut self, sz: usize) -> Result<usize>
fn bytes_left(&self) -> usize
Auto Trait Implementations§
impl Freeze for EarlyData
impl RefUnwindSafe for EarlyData
impl Send for EarlyData
impl Sync for EarlyData
impl Unpin for EarlyData
impl UnwindSafe for EarlyData
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