pub struct AsyncIoConfig {
pub max_in_flight_reads: usize,
pub prefetch_window: usize,
pub max_buffered_bytes: usize,
}Fields§
§max_in_flight_reads: usize§prefetch_window: usize§max_buffered_bytes: usizeTrait Implementations§
Source§impl Clone for AsyncIoConfig
impl Clone for AsyncIoConfig
Source§fn clone(&self) -> AsyncIoConfig
fn clone(&self) -> AsyncIoConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AsyncIoConfig
impl Debug for AsyncIoConfig
Source§impl Default for AsyncIoConfig
impl Default for AsyncIoConfig
impl Eq for AsyncIoConfig
Source§impl PartialEq for AsyncIoConfig
impl PartialEq for AsyncIoConfig
impl StructuralPartialEq for AsyncIoConfig
Auto Trait Implementations§
impl Freeze for AsyncIoConfig
impl RefUnwindSafe for AsyncIoConfig
impl Send for AsyncIoConfig
impl Sync for AsyncIoConfig
impl Unpin for AsyncIoConfig
impl UnsafeUnpin for AsyncIoConfig
impl UnwindSafe for AsyncIoConfig
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more