pub trait PortTryInto2<T> {
type Error;
// Required method
fn port_try_into2(self) -> Result<T, Self::Error>;
}Expand description
A local trait for “port-aware” conversions
Required Associated Types§
Required Methods§
Sourcefn port_try_into2(self) -> Result<T, Self::Error>
fn port_try_into2(self) -> Result<T, Self::Error>
Convert self into a T, using port as needed.