Trait wrpc_transport::frame::AcceptExt
source · pub trait AcceptExt: Accept + Sized {
// Provided method
fn map_context<T, F: Fn(Self::Context) -> T>(
self,
f: F,
) -> AcceptMapContext<Self, F> { ... }
}
Expand description
Extension trait for Accept
Provided Methods§
sourcefn map_context<T, F: Fn(Self::Context) -> T>(
self,
f: F,
) -> AcceptMapContext<Self, F>
fn map_context<T, F: Fn(Self::Context) -> T>( self, f: F, ) -> AcceptMapContext<Self, F>
Maps Self::Context
to a type T
using F
Object Safety§
This trait is not object safe.