Trait WithMsgNative

Source
pub trait WithMsgNative: Sealed {
    // Required method
    fn with_msg_native<F: FnOnce(oscore_msg_native_t) -> R, R>(self, f: F) -> R;
}
Expand description

Sealed helper trait to implement with_msg_native

Required Methods§

Source

fn with_msg_native<F: FnOnce(oscore_msg_native_t) -> R, R>(self, f: F) -> R

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, 'b> WithMsgNative for &'a mut Message<'b>

Source§

fn with_msg_native<F: FnOnce(oscore_msg_native_t) -> R, R>(self, f: F) -> R

Implementors§