pub struct ListenerTimeout {
pub grpc: Option<GrpcTimeout>,
pub http: Option<HttpTimeout>,
pub http_2: Option<HttpTimeout>,
pub tcp: Option<TcpTimeout>,
}
Expand description
An object that represents timeouts for different protocols.
Fields§
§grpc: Option<GrpcTimeout>
§http: Option<HttpTimeout>
An object that represents types of timeouts.
http_2: Option<HttpTimeout>
An object that represents types of timeouts.
tcp: Option<TcpTimeout>
An object that represents types of timeouts.
Trait Implementations§
Source§impl Clone for ListenerTimeout
impl Clone for ListenerTimeout
Source§fn clone(&self) -> ListenerTimeout
fn clone(&self) -> ListenerTimeout
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 ListenerTimeout
impl Debug for ListenerTimeout
Source§impl Default for ListenerTimeout
impl Default for ListenerTimeout
Source§fn default() -> ListenerTimeout
fn default() -> ListenerTimeout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListenerTimeout
impl<'de> Deserialize<'de> for ListenerTimeout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ListenerTimeout
impl PartialEq for ListenerTimeout
Source§impl Serialize for ListenerTimeout
impl Serialize for ListenerTimeout
impl StructuralPartialEq for ListenerTimeout
Auto Trait Implementations§
impl Freeze for ListenerTimeout
impl RefUnwindSafe for ListenerTimeout
impl Send for ListenerTimeout
impl Sync for ListenerTimeout
impl Unpin for ListenerTimeout
impl UnwindSafe for ListenerTimeout
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