Trait breadthread::Directive [−][src]
pub trait Directive: Send + 'static {
type Pointers: IntoIterator<Item = (NonZeroUsize, usize)>;
fn pointers(&self) -> Self::Pointers;
}
Expand description
Represents a directive that can be sent to a bread thread.
Associated Types
type Pointers: IntoIterator<Item = (NonZeroUsize, usize)>
type Pointers: IntoIterator<Item = (NonZeroUsize, usize)>
The type that contains the pointers, along with a usize
that uniquely identifies the type of the
pointer.