pub trait IntoSocket<T, U>: Sizedwhere
T: From<U>,{
// Required method
fn into_socket(self) -> T;
}
Required Methods§
fn into_socket(self) -> T
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.