Struct chronicle::queue::TailerDirection
#[repr(transparent)]pub struct TailerDirection {
pub repr: u8,
}Expand description
The default action for a tailer after reading a message is to advance forwards to the next (higher) message.
The TailerDirection allows the direction of movement to be controlled, and the options are:
None: don’t advance the read positionForward: advance the read position forwards to the next (higher) messageBackward: advance the read position backwards to the previous (lower) message
Fields§
§repr: u8Implementations§
§impl TailerDirection
impl TailerDirection
Trait Implementations§
§impl Clone for TailerDirection
impl Clone for TailerDirection
§impl ExternType for TailerDirection
impl ExternType for TailerDirection
§impl PartialEq<TailerDirection> for TailerDirection
impl PartialEq<TailerDirection> for TailerDirection
§fn eq(&self, other: &TailerDirection) -> bool
fn eq(&self, other: &TailerDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.