pub struct Rn4870Codec {}
Trait Implementations§
Source§impl WireCodec for Rn4870Codec
impl WireCodec for Rn4870Codec
const MESSAGE_DELIMITER: Option<char>
type Frames = Vec<Vec<u8, MAX_BLE_FRAME_LENGTH>, MAX_BLE_FRAMES_COUNT>
type IncomingFrame = Vec<u8, MAX_BLE_FRAME_LENGTH>
fn get_frames(data: &[u8]) -> Result<Self::Frames, CodecError>
fn decode_frame(data: &[u8]) -> Result<(Self::IncomingFrame, usize), CodecError>
Auto Trait Implementations§
impl Freeze for Rn4870Codec
impl RefUnwindSafe for Rn4870Codec
impl Send for Rn4870Codec
impl Sync for Rn4870Codec
impl Unpin for Rn4870Codec
impl UnwindSafe for Rn4870Codec
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