nrf-softdevice

Crates

0.1.0

Versions

s112

Flavors

Trait Service

Source
pub trait Service: Sized {
    type Event;

    // Required method
    fn on_write(&self, handle: u16, data: &[u8]) -> Option<Self::Event>;
}

Required Associated Types§

Required Methods§

Source

fn on_write(&self, handle: u16, data: &[u8]) -> Option<Self::Event>

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.

Implementors§