pub struct Packet {
pub version: AMFVersion,
pub headers: Vec<Header>,
pub messages: Vec<Message>,
}Expand description
An AMF Packet
Fields§
§version: AMFVersionThe version of this packet. Does not affect serialization.
headers: Vec<Header>Any headers associated with every message inside this packet.
messages: Vec<Message>All messages included inside this packet.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnsafeUnpin for Packet
impl UnwindSafe for Packet
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