pub struct U3vStreamOptions {
pub payload_size_hint: u64,
pub max_transfer_size: u32,
pub transfers_in_flight: usize,
}Expand description
How a stream reads: the payload size to use when the device does not say, and the transfers it keeps queued.
Fields§
§payload_size_hint: u64Bytes of payload in one block — from the PayloadSize feature, say —
used only when the SIRM’s Required Payload Size is 0; 0 for none.
max_transfer_size: u32The largest payload transfer to ask for
(DEFAULT_MAX_TRANSFER_SIZE).
transfers_in_flight: usizeTransfers to keep queued (DEFAULT_TRANSFERS_IN_FLIGHT).
Trait Implementations§
Source§impl Clone for U3vStreamOptions
impl Clone for U3vStreamOptions
impl Copy for U3vStreamOptions
Source§impl Debug for U3vStreamOptions
impl Debug for U3vStreamOptions
Source§impl Default for U3vStreamOptions
impl Default for U3vStreamOptions
impl Eq for U3vStreamOptions
Source§impl PartialEq for U3vStreamOptions
impl PartialEq for U3vStreamOptions
impl StructuralPartialEq for U3vStreamOptions
Auto Trait Implementations§
impl Freeze for U3vStreamOptions
impl RefUnwindSafe for U3vStreamOptions
impl Send for U3vStreamOptions
impl Sync for U3vStreamOptions
impl Unpin for U3vStreamOptions
impl UnsafeUnpin for U3vStreamOptions
impl UnwindSafe for U3vStreamOptions
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.