Struct ssh2::Error [] [src]

pub struct Error { /* fields omitted */ }

Representation of an error that can occur within libssh2

Methods

impl Error
[src]

Generate the last error that occurred for a Session.

Returns None if there was no last error.

Create a new error for the given code and message

Generate an error that represents EOF

Construct an error from an error code from libssh2

Get the message corresponding to this error

Return the code for this error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<NulError> for Error
[src]

Performs the conversion.