Skip to main content

Link

Trait Link 

Source
pub trait Link {
    // Required method
    fn call(&mut self, request: &Request) -> Result<Reply, String>;
}
Expand description

A host of the game’s tools to send requests to.

Required Methods§

Source

fn call(&mut self, request: &Request) -> Result<Reply, String>

The host’s reply to request, or why there is none: the host stopped (with its last output).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§