pub struct Codec2Adapter { /* private fields */ }Expand description
Subscribes to M17 streams and attempts to play the decoded Codec2
Implementations§
Source§impl Codec2Adapter
impl Codec2Adapter
Trait Implementations§
Source§impl Default for Codec2Adapter
impl Default for Codec2Adapter
Source§impl StreamAdapter for Codec2Adapter
impl StreamAdapter for Codec2Adapter
fn adapter_registered(&self, _id: usize, handle: TxHandle)
fn adapter_removed(&self)
fn tnc_started(&self)
fn tnc_closed(&self)
fn stream_began(&self, _link_setup: LinkSetup)
fn stream_data(&self, _frame_number: u16, _is_final: bool, data: Arc<[u8; 16]>)
Auto Trait Implementations§
impl Freeze for Codec2Adapter
impl RefUnwindSafe for Codec2Adapter
impl Send for Codec2Adapter
impl Sync for Codec2Adapter
impl Unpin for Codec2Adapter
impl UnwindSafe for Codec2Adapter
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