pub struct OutboundFrame {
pub header: [u8; 11],
pub payload: Bytes,
}Expand description
A frame ready to be written to the pipe.
Fields§
§header: [u8; 11]Pre-encoded header (11 bytes).
payload: BytesPayload bytes (can be empty for ACK, STREAM_END, etc.).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OutboundFrame
impl RefUnwindSafe for OutboundFrame
impl Send for OutboundFrame
impl Sync for OutboundFrame
impl Unpin for OutboundFrame
impl UnwindSafe for OutboundFrame
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