Struct irc::proto::irc::IrcCodec [] [src]

pub struct IrcCodec { /* fields omitted */ }

An IRC codec built around an inner codec.

Methods

impl IrcCodec
[src]

Creates a new instance of IrcCodec wrapping a LineCodec with the specific encoding.

Trait Implementations

impl Decoder for IrcCodec
[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 IrcCodec
[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