pub struct TcpRoute {
pub action: TcpRouteAction,
pub timeout: Option<TcpTimeout>,
}
Expand description
An object that represents a TCP route type.
Fields§
§action: TcpRouteAction
The action to take if a match is determined.
timeout: Option<TcpTimeout>
An object that represents types of timeouts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TcpRoute
impl<'de> Deserialize<'de> for TcpRoute
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
impl StructuralPartialEq for TcpRoute
Auto Trait Implementations§
impl Freeze for TcpRoute
impl RefUnwindSafe for TcpRoute
impl Send for TcpRoute
impl Sync for TcpRoute
impl Unpin for TcpRoute
impl UnwindSafe for TcpRoute
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