Skip to main content

LiveSession

Trait LiveSession 

Source
pub trait LiveSession {
    // Required methods
    fn state(&self) -> LiveSessionState;
    fn capabilities(&self) -> LiveSessionCapabilities;
    fn dispatch_command(
        &mut self,
        command: LiveSessionCommand,
    ) -> Result<JsonValue, LiveSessionError>;

    // Provided method
    fn dispatch(
        &mut self,
        request: LiveSessionRequest,
    ) -> Result<LiveSessionReply, LiveSessionError> { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§