pub trait ArtificeHost {
// Required method
fn stop_broadcasting(&self);
// Provided method
fn begin_broadcast<S: ToSocketAddrs>(socket_addr: S) -> Result<Sender<bool>> { ... }
}
Expand description
used to set discoverability on the local network
Required Methods§
fn stop_broadcasting(&self)
Provided Methods§
fn begin_broadcast<S: ToSocketAddrs>(socket_addr: S) -> Result<Sender<bool>>
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.