[][src]Enum sd_journal::CursorMovement

pub enum CursorMovement {
    Done,
    Limited(c_int),
    EoF,
}

Return value for certain cursor movement operations like next(), next_skip() and alike.

Return Values:

  • Done: full success
  • Limited(actual): the movement was executed but limited by the EoF of the journal. The actual movement is given in the parameter.
  • EoF: no movement was executed since the cursor is already placed at EoF. This is an equivalent to Limited(0).

Variants

Done
Limited(c_int)
EoF

Trait Implementations

impl Debug for CursorMovement[src]

impl Eq for CursorMovement[src]

impl PartialEq<CursorMovement> for CursorMovement[src]

impl StructuralEq for CursorMovement[src]

impl StructuralPartialEq for CursorMovement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.