pub enum Connection {
Ip(SocketAddr),
UnixPath(AbsolutePath),
UnixAbstract(Vec<u8>),
}Expand description
A connection that a process of the run made to a service outside the trace, whose answer is an input that the tracer cannot see.
Connections are ordered by their kind, then by address or path, so a set of them is sorted and without repeats.
Variants§
Ip(SocketAddr)
An IPv4 or IPv6 address and port. An IPv6 address keeps its scope, and its flow information is zero, because it does not name a destination.
UnixPath(AbsolutePath)
A Unix socket by its path, absolute and normalized like every recorded path.
UnixAbstract(Vec<u8>)
A Unix socket in the abstract namespace, by its name without the zero byte that starts it; the name may hold more zero bytes.
Trait Implementations§
Source§impl Clone for Connection
impl Clone for Connection
Source§impl Debug for Connection
impl Debug for Connection
Source§impl Display for Connection
impl Display for Connection
impl Eq for Connection
Source§impl Hash for Connection
impl Hash for Connection
Source§impl Ord for Connection
impl Ord for Connection
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Connection
impl PartialEq for Connection
Source§impl PartialOrd for Connection
impl PartialOrd for Connection
impl StructuralPartialEq for Connection
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
impl UnwindSafe for Connection
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