pub struct Request<'a>(pub &'a Address);
Expand description
+—–+—–+––+––+––+––+––+––+———––+——+————+——+ | VN | CD | DSTPORT | DSTIP | USERID | NULL | DOMAIN | NULL | +—–+—–+––+––+––+––+––+––+———––+——+————+——+ | 1 | 1 | 2 | 4 | Variable | 1 | Variable | 1 | +—–+—–+––+––+––+––+––+––+———––+——+————+——+ ^^^^^^^^^^^^^^^^^^^^^ optional: only do IP is 0.0.0.X
Tuple Fields§
§0: &'a Address
Implementations§
Source§impl Request<'_>
impl Request<'_>
pub fn write_to_buf<B: BufMut>(&self, buf: B) -> Result<usize, SerializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'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