Struct midir::ConnectError
[−]
[src]
pub struct ConnectError<T> { /* fields omitted */ }
An error that can occur when trying to connect to a port.
Methods
impl<T> ConnectError<T>
[src]
fn new(kind: ConnectErrorKind, inner: T) -> ConnectError<T>
[src]
fn other(msg: &'static str, inner: T) -> ConnectError<T>
[src]
Helper method to create ConnectErrorKind::Other.
fn kind(&self) -> ConnectErrorKind
[src]
fn into_inner(self) -> T
[src]
Trait Implementations
impl<T> Debug for ConnectError<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<T> Display for ConnectError<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more