pub enum GetDeviceAtIndexError {
DeviceInfoFromFfiError(CueDeviceInfoFromFfiError),
CueDeviceFromDeviceInfoAndIndexError(CueDeviceFromDeviceInfoAndIndexError),
}
Expand description
The error that can be returned from the get_device_at
method.
Variants§
DeviceInfoFromFfiError(CueDeviceInfoFromFfiError)
CueDeviceFromDeviceInfoAndIndexError(CueDeviceFromDeviceInfoAndIndexError)
Trait Implementations§
Source§impl Clone for GetDeviceAtIndexError
impl Clone for GetDeviceAtIndexError
Source§fn clone(&self) -> GetDeviceAtIndexError
fn clone(&self) -> GetDeviceAtIndexError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetDeviceAtIndexError
impl Debug for GetDeviceAtIndexError
Source§impl Display for GetDeviceAtIndexError
impl Display for GetDeviceAtIndexError
Source§impl Fail for GetDeviceAtIndexError
impl Fail for GetDeviceAtIndexError
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 moreSource§impl PartialEq for GetDeviceAtIndexError
impl PartialEq for GetDeviceAtIndexError
impl StructuralPartialEq for GetDeviceAtIndexError
Auto Trait Implementations§
impl Freeze for GetDeviceAtIndexError
impl RefUnwindSafe for GetDeviceAtIndexError
impl Send for GetDeviceAtIndexError
impl Sync for GetDeviceAtIndexError
impl Unpin for GetDeviceAtIndexError
impl UnwindSafe for GetDeviceAtIndexError
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