Struct alsa::Error [] [src]

pub struct Error(_, _);

ALSA error

Most ALSA functions can return a negative error code. If so, then that error code is wrapped into this Error struct. An Error is also returned in case ALSA returns a string that cannot be translated into Rust's UTF-8 strings.

Methods

impl Error
[src]

[src]

[src]

[src]

The function which failed.

[src]

The errno, if any.

[src]

Underlying error

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Error
[src]

[src]

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

[src]

This method tests for !=.

impl Copy for Error
[src]

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more