#[non_exhaustive]pub enum IsoWriteError {
TooLate,
BufferOverflow,
Disabled,
}Expand description
Why IsoInSlot::write did not queue the packet.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TooLate
The slot had already started before IsoInSlot::write was called. Nothing was queued.
BufferOverflow
data is larger than EndpointInfo::max_packet_size.
Disabled
The endpoint is disabled.
Trait Implementations§
Source§impl Clone for IsoWriteError
impl Clone for IsoWriteError
impl Copy for IsoWriteError
Source§impl Debug for IsoWriteError
impl Debug for IsoWriteError
Source§impl Display for IsoWriteError
impl Display for IsoWriteError
impl Eq for IsoWriteError
Source§impl Error for IsoWriteError
impl Error for IsoWriteError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Format for IsoWriteError
impl Format for IsoWriteError
Source§impl From<EndpointDisabledError> for IsoWriteError
impl From<EndpointDisabledError> for IsoWriteError
Source§fn from(_: EndpointDisabledError) -> Self
fn from(_: EndpointDisabledError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IsoWriteError
impl PartialEq for IsoWriteError
impl StructuralPartialEq for IsoWriteError
Auto Trait Implementations§
impl Forget for IsoWriteError
impl Freeze for IsoWriteError
impl Move for IsoWriteError
impl RefUnwindSafe for IsoWriteError
impl Send for IsoWriteError
impl Sync for IsoWriteError
impl Unpin for IsoWriteError
impl UnsafeUnpin for IsoWriteError
impl UnwindSafe for IsoWriteError
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