pub struct SocketProbe {
pub name: String,
pub host: String,
pub port: Option<u16>,
pub payload: Option<Vec<u8>>,
pub tls: bool,
pub session: bool,
pub read_max: u32,
pub read_idle_ms: u32,
}Expand description
Generic socket probe fields shared by dns, tcp, and udp.
Fields§
§name: String§host: String§port: Option<u16>§payload: Option<Vec<u8>>UTF-8 text or raw bytes (from payload "..." or payload "aabbcc" hex).
tls: bool§session: bool§read_max: u32§read_idle_ms: u32Trait Implementations§
Source§impl Clone for SocketProbe
impl Clone for SocketProbe
Source§fn clone(&self) -> SocketProbe
fn clone(&self) -> SocketProbe
Returns a duplicate 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 SocketProbe
impl Debug for SocketProbe
Source§impl PartialEq for SocketProbe
impl PartialEq for SocketProbe
impl StructuralPartialEq for SocketProbe
Auto Trait Implementations§
impl Freeze for SocketProbe
impl RefUnwindSafe for SocketProbe
impl Send for SocketProbe
impl Sync for SocketProbe
impl Unpin for SocketProbe
impl UnsafeUnpin for SocketProbe
impl UnwindSafe for SocketProbe
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