Skip to main content

RecvMsgOutView

Trait RecvMsgOutView 

Source
pub trait RecvMsgOutView {
    // Required method
    fn parse_with<R>(
        raw: &[u8],
        msghdr: &msghdr,
        f: impl FnOnce(&[u8], &[u8]) -> R,
    ) -> Option<R>;
}

Required Methods§

Source

fn parse_with<R>( raw: &[u8], msghdr: &msghdr, f: impl FnOnce(&[u8], &[u8]) -> R, ) -> Option<R>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§