pub enum CurrentRevision {
Current(u64),
NoStream,
}
Expand description
Actual revision of a stream.
Variants
Current(u64)
Tuple Fields
0: u64
The last event’s number.
NoStream
The stream doesn’t exist.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CurrentRevision
impl Send for CurrentRevision
impl Sync for CurrentRevision
impl Unpin for CurrentRevision
impl UnwindSafe for CurrentRevision
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more