Struct radio_api::Connection[][src]

pub struct Connection { /* fields omitted */ }

A connection is like a stream, but allowed parsed reads with properly buffered input data.

Methods

impl Connection
[src]

Convenience constructor to create connection from stream.

Write out raw bytes to the underlying stream.

Read the next object using provided parser.

Auto Trait Implementations

impl !Send for Connection

impl !Sync for Connection