Struct kitsune_p2p_proxy::AcceptProxyCallback [−][src]
pub struct AcceptProxyCallback(pub AcceptProxyCallbackFn);
Expand description
Callback type for proxy accept/deny.
Tuple Fields
0: AcceptProxyCallbackFn
Implementations
Callback that blanket denies all proxy requests.
Callback that blanket accepts all proxy requests.
Trait Implementations
Performs the conversion.
type Target = AcceptProxyCallbackFn
type Target = AcceptProxyCallbackFn
The resulting type after dereferencing.
Auto Trait Implementations
impl !RefUnwindSafe for AcceptProxyCallback
impl Send for AcceptProxyCallback
impl Sync for AcceptProxyCallback
impl Unpin for AcceptProxyCallback
impl !UnwindSafe for AcceptProxyCallback
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