pub trait EndpointExt {
// Required method
fn unix_socket_path(&self) -> Option<&Path>;
}Expand description
Prospero’s accessor on caliban’s Endpoint.
The contract crate puts the equivalent on AgentRecord, but prospero asks
it of a bare endpoint (a transport decision, made before any record exists),
so it lives here as an extension rather than forcing the call sites to
re-match.
Required Methods§
Sourcefn unix_socket_path(&self) -> Option<&Path>
fn unix_socket_path(&self) -> Option<&Path>
The Unix socket path, when this endpoint is one.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".