pub enum ReplyContext {
Http,
Http2,
Http3,
WebSocket,
Socks4,
Socks5,
Shadowsocks,
Trojan,
Raw,
}Expand description
Information needed to send a protocol-specific reply later.
Variants§
Auto Trait Implementations§
impl Freeze for ReplyContext
impl RefUnwindSafe for ReplyContext
impl Send for ReplyContext
impl Sync for ReplyContext
impl Unpin for ReplyContext
impl UnsafeUnpin for ReplyContext
impl UnwindSafe for ReplyContext
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