pub enum JackError {
NulError,
JackOpenFailed(JackStatus),
ProgrammerError,
InvalidPort,
PortNotFound,
UnknownErrorCode {
from: &'static str,
code: i32,
},
PortRegistrationFailed,
InvalidPortFlags,
InvalidPortType,
PortNotMine,
NotPowerOfTwo,
}Variants§
NulError
JackOpenFailed(JackStatus)
ProgrammerError
InvalidPort
PortNotFound
UnknownErrorCode
PortRegistrationFailed
InvalidPortFlags
InvalidPortType
PortNotMine
NotPowerOfTwo
Trait Implementations§
Source§impl Fail for JackError
impl Fail for JackError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl Freeze for JackError
impl RefUnwindSafe for JackError
impl Send for JackError
impl Sync for JackError
impl Unpin for JackError
impl UnwindSafe for JackError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more