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.
ReqProxy(ReqProxy)
Request that the remote end proxy for us.
ReqProxyOk(ReqProxyOk)
The remote end agrees to proxy for us.
ChanNew(ChanNew)
Create a new proxy channel through which to send data.
ChanSend(ChanSend)
Forward data through the proxy channel. Send zero length data for keep-alive.
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
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