pub enum From {
Offset(u64),
StateOnly,
}Expand description
Ask for state only, fetching no log bytes.
A plain wait wants rc, not output, and shipping the log to discard it
would hold the lock for the transfer. Expressed as its own type rather than
a sentinel offset: passing u64::MAX overflowed the +1 that tail -c +N
needs and produced tail: Invalid argument, which surfaced as a spurious
“lost contact while waiting” on every --wait --no-tail.
Variants§
Trait Implementations§
impl Copy for From
impl Eq for From
impl StructuralPartialEq for From
Auto Trait Implementations§
impl Freeze for From
impl RefUnwindSafe for From
impl Send for From
impl Sync for From
impl Unpin for From
impl UnsafeUnpin for From
impl UnwindSafe for From
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.