[][src]Struct rpcx::Opt

pub struct Opt {
    pub compress_type: CompressType,
    pub serialize_type: SerializeType,
    pub connect_timeout: Duration,
    pub read_timeout: Duration,
    pub write_timeout: Duration,
    pub nodelay: Option<bool>,
    pub ttl: Option<u32>,
}

Fields

compress_type: CompressTypeserialize_type: SerializeTypeconnect_timeout: Durationread_timeout: Durationwrite_timeout: Durationnodelay: Option<bool>ttl: Option<u32>

Trait Implementations

impl Clone for Opt[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Opt[src]

impl Debug for Opt[src]

impl Copy for Opt[src]

Auto Trait Implementations

impl Sync for Opt

impl Send for Opt

impl Unpin for Opt

impl RefUnwindSafe for Opt

impl UnwindSafe for Opt

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]