pub trait Getter<G, E: Copy + Debug>: Updatable<E> {
// Required method
fn get(&self) -> Output<G, E>;
}Expand description
Something with a get method. Structs implementing this will often be chained for easier data
processing, with a struct having other implementors in fields which will have some operation
performed on their output before it being passed on. Data processing Getters with other Getters
as fields can be referred to as streams, though this is only in naming and trait-wise there is
no distinction. The other common use for this trait is encoders. These should not be called
streams.