Struct cfx_stratum::PeerMetaExtractor
source · pub struct PeerMetaExtractor { /* private fields */ }
Trait Implementations§
source§impl MetaExtractor<SocketMetadata> for PeerMetaExtractor
impl MetaExtractor<SocketMetadata> for PeerMetaExtractor
source§fn extract(&self, context: &RequestContext) -> SocketMetadata
fn extract(&self, context: &RequestContext) -> SocketMetadata
Extracts metadata from request context
Auto Trait Implementations§
impl !RefUnwindSafe for PeerMetaExtractor
impl Send for PeerMetaExtractor
impl Sync for PeerMetaExtractor
impl Unpin for PeerMetaExtractor
impl !UnwindSafe for PeerMetaExtractor
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