Struct optra::OTError [] [src]

pub struct OTError {
    pub kind: ErrorKind,
}

Represents an error in attempting to synchronize remote operations

Fields

kind: ErrorKind

The kind of error this is

Methods

impl OTError
[src]

fn new(kind: ErrorKind) -> OTError

Create a new OTError of the given kind.

Trait Implementations

impl Debug for OTError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.