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
)