pub struct BootstrapGate { /* private fields */ }Expand description
One-use gate for a verified bootstrap result.
Implementations§
Source§impl BootstrapGate
impl BootstrapGate
Sourcepub const fn zero_rtt_enabled(self) -> bool
pub const fn zero_rtt_enabled(self) -> bool
QUIC early data is deliberately disabled for capability delivery.
pub fn consume( &mut self, grant: BootstrapGrant, now: Instant, ) -> Result<(), SdkError>
Trait Implementations§
Source§impl Clone for BootstrapGate
impl Clone for BootstrapGate
Source§fn clone(&self) -> BootstrapGate
fn clone(&self) -> BootstrapGate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootstrapGate
Source§impl Debug for BootstrapGate
impl Debug for BootstrapGate
impl Eq for BootstrapGate
Source§impl PartialEq for BootstrapGate
impl PartialEq for BootstrapGate
impl StructuralPartialEq for BootstrapGate
Auto Trait Implementations§
impl Freeze for BootstrapGate
impl RefUnwindSafe for BootstrapGate
impl Send for BootstrapGate
impl Sync for BootstrapGate
impl Unpin for BootstrapGate
impl UnsafeUnpin for BootstrapGate
impl UnwindSafe for BootstrapGate
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