[][src]Struct cannyls::storage::JournalSnapshot

pub struct JournalSnapshot {
    pub unreleased_head: u64,
    pub head: u64,
    pub tail: u64,
    pub entries: Vec<JournalEntry>,
}

ジャーナル領域のスナップショット。

Fields

unreleased_head: u64

ジャーナル領域の未開放開始位置。

head: u64

ジャーナル領域の開始位置。

古いジャーナルエントリを指す。

tail: u64

ジャーナル領域の末尾位置。

最新のジャーナルエントリの一つ後ろを指している。 エントリはここ追記される。

entries: Vec<JournalEntry>

開始位置から末尾位置まで順に読んで得られたジャーナルエントリ群。

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.