Struct ecu_diagnostics::dynamic_diag::TimeoutConfig
source · #[repr(C)]pub struct TimeoutConfig {
pub read_timeout_ms: u32,
pub write_timeout_ms: u32,
}
Expand description
Server read/write timeout configuration
Fields§
§read_timeout_ms: u32
Read timeout
write_timeout_ms: u32
Write timeout
Trait Implementations§
source§impl Clone for TimeoutConfig
impl Clone for TimeoutConfig
source§fn clone(&self) -> TimeoutConfig
fn clone(&self) -> TimeoutConfig
Returns a copy of the value. Read more
1.0.0 · 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 TimeoutConfig
impl Debug for TimeoutConfig
source§impl Ord for TimeoutConfig
impl Ord for TimeoutConfig
source§fn cmp(&self, other: &TimeoutConfig) -> Ordering
fn cmp(&self, other: &TimeoutConfig) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TimeoutConfig
impl PartialEq for TimeoutConfig
source§fn eq(&self, other: &TimeoutConfig) -> bool
fn eq(&self, other: &TimeoutConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TimeoutConfig
impl PartialOrd for TimeoutConfig
source§fn partial_cmp(&self, other: &TimeoutConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &TimeoutConfig) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TimeoutConfig
impl Eq for TimeoutConfig
impl StructuralPartialEq for TimeoutConfig
Auto Trait Implementations§
impl Freeze for TimeoutConfig
impl RefUnwindSafe for TimeoutConfig
impl Send for TimeoutConfig
impl Sync for TimeoutConfig
impl Unpin for TimeoutConfig
impl UnwindSafe for TimeoutConfig
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