Struct opc::OpcCodec [] [src]

pub struct OpcCodec;

Open Pixel Codec Instance

See the tokio-core::io::Codec Trait on how to use as a transport

Trait Implementations

impl Decoder for OpcCodec
[src]

The type of decoded frames.

The type of unrecoverable frame decoding errors. Read more

Attempts to decode a frame from the provided buffer of bytes. Read more

A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more

impl Encoder for OpcCodec
[src]

The type of items consumed by the Encoder

The type of encoding errors. Read more

Encodes a frame into the buffer provided. Read more