pub enum Request {
Bind(Address),
Connect(Address),
Associate(Address),
}Expand description
§Request
+-----+-------+------+----------+----------+
| CMD | RSV | ATYP | DST.ADDR | DST.PORT |
+-----+-------+------+----------+----------+
| 1 | X'00' | 1 | Variable | 2 |
+-----+-------+------+----------+----------+Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl !Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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