pub struct UdpPacket {
pub frag: u8,
pub address: Address,
pub data: BytesMut,
}Fields§
§frag: u8§address: Address§data: BytesMutImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UdpPacket
impl RefUnwindSafe for UdpPacket
impl Send for UdpPacket
impl Sync for UdpPacket
impl Unpin for UdpPacket
impl UnwindSafe for UdpPacket
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