EventSourcePool

Trait EventSourcePool 

Source
pub trait EventSourcePool: Context {
    type SourceIterator<'a>: Iterator<Item = &'a mut Source>
       where Self: 'a;

    // Required method
    fn sources<'a>(&'a mut self) -> Self::SourceIterator<'a>;
}

Required Associated Types§

Source

type SourceIterator<'a>: Iterator<Item = &'a mut Source> where Self: 'a

Required Methods§

Source

fn sources<'a>(&'a mut self) -> Self::SourceIterator<'a>

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.

Implementors§

Source§

impl EventSourcePool for DummyPool

Source§

type SourceIterator<'a> = Empty<&'a mut Source> where Self: 'a