pub struct UdpReader<'a> {
pub bytes: &'a [u8],
}
Expand description
Reads UDP header fields.
Fields§
§bytes: &'a [u8]
Implementations§
Source§impl<'a> UdpReader<'a>
impl<'a> UdpReader<'a>
Trait Implementations§
Source§impl<'a> ParseReader<'a> for UdpReader<'a>
impl<'a> ParseReader<'a> for UdpReader<'a>
impl<'a> StructuralPartialEq for UdpReader<'a>
Auto Trait Implementations§
impl<'a> Freeze for UdpReader<'a>
impl<'a> RefUnwindSafe for UdpReader<'a>
impl<'a> Send for UdpReader<'a>
impl<'a> Sync for UdpReader<'a>
impl<'a> Unpin for UdpReader<'a>
impl<'a> UnwindSafe for UdpReader<'a>
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