pub struct SessionInfo {
pub max_readahead: u32,
pub want: u32,
pub max_background: u16,
pub congestion_threshold: u16,
pub max_write: u32,
pub time_gran: u32,
/* private fields */
}
Expand description
Provides information about a session. Public fields may be modified during init
.
Fields§
§max_readahead: u32
§want: u32
§max_background: u16
§congestion_threshold: u16
§max_write: u32
§time_gran: u32
Implementations§
Trait Implementations§
Source§impl Default for SessionInfo
impl Default for SessionInfo
Source§fn default() -> SessionInfo
fn default() -> SessionInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnwindSafe for SessionInfo
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