pub trait IsoInSlot {
// Required method
fn write(self, data: &[u8]) -> Result<(), IsoWriteError>;
}Expand description
A reserved isochronous IN slot in the queue, corresponding to a specific service interval
Required Methods§
Sourcefn write(self, data: &[u8]) -> Result<(), IsoWriteError>
fn write(self, data: &[u8]) -> Result<(), IsoWriteError>
Queue one transfer for this slot without waiting.
The length of data may be zero and must be no 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.
A transfer the host does not poll for in its service interval is silently dropped when the interval ends and is never sent in a later interval.
See IsoEndpointIn::ready for more details.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".