Enum kitsune_p2p_proxy::wire::ProxyWire [−][src]
pub enum ProxyWire {
Failure(Failure),
ReqProxy(ReqProxy),
ReqProxyOk(ReqProxyOk),
ChanNew(ChanNew),
ChanSend(ChanSend),
}
Expand description
Proxy Wire Protocol Top-Level Enum.
Variants
Failure(Failure)
Indicate a failur on the remote end.
Tuple Fields of Failure
0: Failure
ReqProxy(ReqProxy)
Request that the remote end proxy for us.
Tuple Fields of ReqProxy
0: ReqProxy
ReqProxyOk(ReqProxyOk)
The remote end agrees to proxy for us.
Tuple Fields of ReqProxyOk
0: ReqProxyOk
ChanNew(ChanNew)
Create a new proxy channel through which to send data.
Tuple Fields of ChanNew
0: ChanNew
ChanSend(ChanSend)
Forward data through the proxy channel. Send zero length data for keep-alive.
Tuple Fields of ChanSend
0: ChanSend
Implementations
Variant constructor helper function.
Variant constructor helper function.
Variant constructor helper function.
Trait Implementations
Variant identifier (for debugging or as a cheap discriminant).
Encode this item to given writer. You may wish to first wrap your writer in a BufWriter. Read more
Decode a reader into this item. You may wish to first wrap your reader in a BufReader. Read more
Encode this item to an owned vector of bytes.
Uses encode()
internally. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProxyWire
impl UnwindSafe for ProxyWire
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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
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