Struct Prepared Duplex Failure
pub struct PreparedDuplexFailure<P> { /* private fields */ }Expand description
Original preparation error and exclusive unchanged endpoint ownership.
Implementations§
§impl<P> PreparedDuplexFailure<P>
impl<P> PreparedDuplexFailure<P>
pub fn error(&self) -> &PrepareError
pub fn into_parts(self) -> (P, AudioConsumer, PrepareError)
Trait Implementations§
§impl<P> Debug for PreparedDuplexFailure<P>
impl<P> Debug for PreparedDuplexFailure<P>
§impl<P> Display for PreparedDuplexFailure<P>
impl<P> Display for PreparedDuplexFailure<P>
§impl<P> Error for PreparedDuplexFailure<P>
impl<P> Error for PreparedDuplexFailure<P>
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<P> Freeze for PreparedDuplexFailure<P>where
P: Freeze,
impl<P> RefUnwindSafe for PreparedDuplexFailure<P>where
P: RefUnwindSafe,
impl<P> Send for PreparedDuplexFailure<P>where
P: Send,
impl<P> Sync for PreparedDuplexFailure<P>where
P: Sync,
impl<P> Unpin for PreparedDuplexFailure<P>where
P: Unpin,
impl<P> UnsafeUnpin for PreparedDuplexFailure<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for PreparedDuplexFailure<P>where
P: UnwindSafe,
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more