pub struct Bgx13Codec {}
Trait Implementations§
Source§impl WireCodec for Bgx13Codec
impl WireCodec for Bgx13Codec
const MESSAGE_DELIMITER: Option<char> = None
type Frames = Vec<Vec<u8, MAX_BGX13_MESSAGE_LENGTH>, MAX_BGX13_FRAMES_COUNT>
type IncomingFrame = Vec<u8, MAX_BGX13_MESSAGE_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 Bgx13Codec
impl RefUnwindSafe for Bgx13Codec
impl Send for Bgx13Codec
impl Sync for Bgx13Codec
impl Unpin for Bgx13Codec
impl UnwindSafe for Bgx13Codec
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