pub struct ContinuePacket {
pub stream_id: u8,
pub data_part: Vec<u8>,
}Fields§
§stream_id: u8§data_part: Vec<u8>Implementations§
Source§impl ContinuePacket
impl ContinuePacket
pub const DATA_PART_LENGTH: usize = 63usize
pub fn new( stream_id: u8, data_part: Vec<u8>, ) -> Result<Self, ContinuePacketError>
pub fn new_reader( stream_id: u8, data_stream: &mut impl Read, ) -> Result<Self, ContinuePacketError>
pub fn encode(&self) -> Result<Vec<u8>, ContinuePacketError>
Trait Implementations§
Source§impl Debug for ContinuePacket
impl Debug for ContinuePacket
Source§impl PartialEq for ContinuePacket
impl PartialEq for ContinuePacket
impl Eq for ContinuePacket
impl StructuralPartialEq for ContinuePacket
Auto Trait Implementations§
impl Freeze for ContinuePacket
impl RefUnwindSafe for ContinuePacket
impl Send for ContinuePacket
impl Sync for ContinuePacket
impl Unpin for ContinuePacket
impl UnwindSafe for ContinuePacket
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