Skip to main content

EnvSource

Trait EnvSource 

Source
pub trait EnvSource {
    // Required method
    fn envelope(&self, i: usize) -> Option<&Envelope>;
}
Expand description

Where a thread term finds the other messages: a session’s list, or a plain slice in a test.

Required Methods§

Source

fn envelope(&self, i: usize) -> Option<&Envelope>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl EnvSource for Vec<Envelope>

Source§

impl EnvSource for [Envelope]

Implementors§