Struct shadowsocks_service::local::socks::socks4::HandshakeResponse [−][src]
pub struct HandshakeResponse {
pub cd: ResultCode,
}
Expand description
Handshake Response
+----+----+----+----+----+----+----+----+
| VN | CD | DSTPORT | DSTIP |
+----+----+----+----+----+----+----+----+
Fields
cd: ResultCode
Implementations
Create a response with code
Read from a reader
Write data into a writer
Writes to buffer
Length in bytes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HandshakeResponse
impl Send for HandshakeResponse
impl Sync for HandshakeResponse
impl Unpin for HandshakeResponse
impl UnwindSafe for HandshakeResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more