pub enum BuilderError {
TooManyLanguages,
InvalidPacketSize,
PowerTooHigh,
}
Expand description
Error type for the USB device builder
Variants§
TooManyLanguages
String descriptors were provided in more languages than are supported
InvalidPacketSize
Control endpoint can only be 8, 16, 32, or 64 byte max packet size
PowerTooHigh
Configuration specifies higher USB power draw than allowed
Trait Implementations§
Source§impl Clone for BuilderError
impl Clone for BuilderError
Source§fn clone(&self) -> BuilderError
fn clone(&self) -> BuilderError
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 BuilderError
impl Debug for BuilderError
Source§impl PartialEq for BuilderError
impl PartialEq for BuilderError
impl Copy for BuilderError
impl StructuralPartialEq for BuilderError
Auto Trait Implementations§
impl Freeze for BuilderError
impl RefUnwindSafe for BuilderError
impl Send for BuilderError
impl Sync for BuilderError
impl Unpin for BuilderError
impl UnwindSafe for BuilderError
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