pub struct QuicNewTokenFrame<'a> { /* private fields */ }Expand description
A checked borrowed RFC 9000 NEW_TOKEN frame view.
Implementations§
Source§impl<'a> QuicNewTokenFrame<'a>
impl<'a> QuicNewTokenFrame<'a>
Sourcepub const fn frame_type(self) -> QuicVarInt<'a>
pub const fn frame_type(self) -> QuicVarInt<'a>
Returns the exact encoded frame-type variable integer.
Sourcepub const fn token_length(self) -> QuicVarInt<'a>
pub const fn token_length(self) -> QuicVarInt<'a>
Returns the exact encoded token-length variable integer.
Trait Implementations§
Source§impl<'a> Clone for QuicNewTokenFrame<'a>
impl<'a> Clone for QuicNewTokenFrame<'a>
impl<'a> Copy for QuicNewTokenFrame<'a>
Source§impl<'a> Debug for QuicNewTokenFrame<'a>
impl<'a> Debug for QuicNewTokenFrame<'a>
impl<'a> Eq for QuicNewTokenFrame<'a>
Source§impl<'a> PartialEq for QuicNewTokenFrame<'a>
impl<'a> PartialEq for QuicNewTokenFrame<'a>
impl<'a> StructuralPartialEq for QuicNewTokenFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuicNewTokenFrame<'a>
impl<'a> RefUnwindSafe for QuicNewTokenFrame<'a>
impl<'a> Send for QuicNewTokenFrame<'a>
impl<'a> Sync for QuicNewTokenFrame<'a>
impl<'a> Unpin for QuicNewTokenFrame<'a>
impl<'a> UnsafeUnpin for QuicNewTokenFrame<'a>
impl<'a> UnwindSafe for QuicNewTokenFrame<'a>
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