Trait IntoSocket

Source
pub trait IntoSocket<T, U>: Sized
where T: From<U>,
{ // Required method fn into_socket(self) -> T; }

Required Methods§

Source

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.

Implementors§