Enum rtlsdr::LibusbError
source · #[repr(i32)]pub enum LibusbError {
Show 13 variants
IoError,
InvalidParam,
AccessDenied,
NoDevice,
NoEntity,
Busy,
Timeout,
Overflow,
Pipe,
Interrupted,
InsufficientMemory,
NotSupported,
Other,
}Variants§
IoError
Input/output error
InvalidParam
Invalid parameter
AccessDenied
Access denied (insufficient permissions)
NoDevice
No such device (it may have been disconnected)
NoEntity
Entity not found
Busy
Resource busy
Timeout
Operation timed out
Overflow
Overflow
Pipe
Pipe error
Interrupted
System call interrupted (perhaps due to signal)
InsufficientMemory
Insufficient memory
NotSupported
Operation not supported or unimplemented on this platform
Other
Other error
Trait Implementations§
source§impl Clone for LibusbError
impl Clone for LibusbError
source§fn clone(&self) -> LibusbError
fn clone(&self) -> LibusbError
Returns a copy 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 LibusbError
impl Debug for LibusbError
source§impl PartialEq<LibusbError> for LibusbError
impl PartialEq<LibusbError> for LibusbError
source§fn eq(&self, other: &LibusbError) -> bool
fn eq(&self, other: &LibusbError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<i32> for LibusbError
impl TryFrom<i32> for LibusbError
impl Copy for LibusbError
impl Eq for LibusbError
impl StructuralEq for LibusbError
impl StructuralPartialEq for LibusbError
Auto Trait Implementations§
impl RefUnwindSafe for LibusbError
impl Send for LibusbError
impl Sync for LibusbError
impl Unpin for LibusbError
impl UnwindSafe for LibusbError
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