Struct pbcodec::Error [] [src]

pub struct Error<T> {
    pub stream: T,
    pub error: TrackableError<ErrorKind>,
}

Fields

Trait Implementations

impl<T: Debug> Debug for Error<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Display for Error<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Debug> Error for Error<T>
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl<T> Trackable for Error<T>
[src]

Event type which a history of an instance of this type can have.

[src]

Returns the reference of the tracking history of this instance. Read more

[src]

Returns the mutable reference of the tracking history of this instance. Read more

[src]

Add an event into the tail of the history of this instance. Read more

[src]

Returns true if it is being tracked, otherwise false.

impl<T> From<Error<T>> for TrackableError<ErrorKind>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Error<T> where
    T: Send

impl<T> Sync for Error<T> where
    T: Sync