Enum activitystreams::Error[][src]

pub enum Error {
    NotFound,
    Deserialize,
    Serialize,
}

The Error type

Variants

This error occurs when an Activity Streams type does not contain a requested value

This error occurs when a requested value could not be deserialized into the requested type

This error occurs when a provided item could not be serialized into an Activity Streams type

Trait Implementations

impl Fail for Error
[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

Provides context for this failure. Read more

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Copy for Error
[src]

impl Eq for Error
[src]

impl PartialEq<Error> for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Error

impl Sync for Error