Trait ShellApiRequest
pub trait ShellApiRequest {
type Response: Decode + Send + 'static;
const CHANNEL: &'static str;
// Required method
fn encode(&self, encoder: &mut Encoder) -> Result<(), CodecError>;
}Expand description
Generated endpoint request with the same argument/result codecs as renderer calls.
Required Associated Constants§
Required Associated Types§
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.