pub trait HostPort: RuntimeObject {
// Required method
fn host_port_card(&self) -> &HostPortCard;
}Expand description
Marker contract implemented by a domain’s opaque host-port object.
The trait deliberately specifies only descriptive identity. Domain methods remain on domain traits, so this foundation cannot accumulate platform or product policy.
Required Methods§
Sourcefn host_port_card(&self) -> &HostPortCard
fn host_port_card(&self) -> &HostPortCard
Returns the neutral card describing this port.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".