#[non_exhaustive]pub enum IsoWriteError {
TooLate,
BufferOverflow,
}Expand description
Why IsoInSlot::write did not queue the transfer.
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 service interval had already started before IsoInSlot::write was called,
so the service interval was skipped.
This will reset and not increment the skipped service interval counter.
BufferOverflow
data is larger than larger than the maximum number of
bytes the endpoint is configured to transfer in a service interval.
For Full Speed endpoints, this means at most
EndpointInfo::max_packet_size
bytes, but High Speed and Super Speed endpoints can be configured to allow
more than one packet per service interval.
This will reset and not increment the skipped service interval counter.
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 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