pub enum EndpointError {
BufferOverflow,
Disabled,
}
Expand description
Errors returned by EndpointIn::write
and EndpointOut::read
Variants§
BufferOverflow
Either the packet to be written is too long to fit in the transmission
buffer or the received packet is too long to fit in buf
.
Disabled
The endpoint is disabled.
Trait Implementations§
source§impl Clone for EndpointError
impl Clone for EndpointError
source§fn clone(&self) -> EndpointError
fn clone(&self) -> EndpointError
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 EndpointError
impl Debug for EndpointError
source§impl Format for EndpointError
impl Format for EndpointError
source§impl PartialEq for EndpointError
impl PartialEq for EndpointError
impl Copy for EndpointError
impl Eq for EndpointError
impl StructuralPartialEq for EndpointError
Auto Trait Implementations§
impl Freeze for EndpointError
impl RefUnwindSafe for EndpointError
impl Send for EndpointError
impl Sync for EndpointError
impl Unpin for EndpointError
impl UnwindSafe for EndpointError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)