pub struct OutgoingPacket<'a, 'b> {
pub transaction_id: u64,
pub packet_type: OutgoingPacketType<'a>,
pub payload: &'b [&'b [u8]],
}
Expand description
An outgoing packet.
Fields§
§transaction_id: u64
The transaction ID. Ignored for packet_type
of [OutgoingPacketType::InBandNoCompletion
].
packet_type: OutgoingPacketType<'a>
The outgoing packet type.
payload: &'b [&'b [u8]]
The payload, as a list of byte slices.
Auto Trait Implementations§
impl<'a, 'b> Freeze for OutgoingPacket<'a, 'b>
impl<'a, 'b> RefUnwindSafe for OutgoingPacket<'a, 'b>
impl<'a, 'b> Send for OutgoingPacket<'a, 'b>
impl<'a, 'b> Sync for OutgoingPacket<'a, 'b>
impl<'a, 'b> Unpin for OutgoingPacket<'a, 'b>
impl<'a, 'b> UnwindSafe for OutgoingPacket<'a, 'b>
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