Skip to main content

Session

Trait Session 

Source
pub trait Session {
    // Required method
    fn wait(&mut self) -> Result<i32, LoopError>;
}
Expand description

A live session handle returned by a Dispatcher.

Required Methods§

Source

fn wait(&mut self) -> Result<i32, LoopError>

Block until the session exits and return its exit code.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§