Host

Trait Host 

Source
pub trait Host:
    HostTcpSocket
    + HostUdpSocket
    + Send {
    // Required method
    fn convert_error_code(&mut self, err: SocketError) -> Result<ErrorCode>;
}
Available on crate feature p3 only.

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<_T: Host + ?Sized + Send> Host for &mut _T

Implementors§