pub struct M17App { /* private fields */ }Implementations§
Source§impl M17App
impl M17App
pub fn new<T: Tnc + Send + 'static>(tnc: T) -> Self
pub fn add_packet_adapter<P: PacketAdapter + 'static>( &self, adapter: P, ) -> usize
pub fn add_stream_adapter<S: StreamAdapter + 'static>( &self, adapter: S, ) -> usize
pub fn remove_packet_adapter(&self, id: usize)
pub fn remove_stream_adapter(&self, id: usize)
pub fn start(&self)
pub fn close(&self)
Auto Trait Implementations§
impl Freeze for M17App
impl RefUnwindSafe for M17App
impl Send for M17App
impl Sync for M17App
impl Unpin for M17App
impl UnwindSafe for M17App
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