A local or remote TNC attached to a radio, which can send and receive frames.
pub fn open(address: &TncAddress) -> Result<Self, TncError>[src]
Attempt to obtain a
Tnc connection using the provided address.
Transmit a frame on the radio. Transmission is not guaranteed even if a
Ok result is returned.
pub fn receive_frame(&self) -> Result<Ax25Frame, TncError>[src]
Block to receive a frame from the radio. If you want to do this on
a separate thread from sending, clone the
impl !RefUnwindSafe for Tnc
impl !UnwindSafe for Tnc
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.