[][src]Enum frugalos_mds::Event

pub enum Event {
    Putted {
        version: ObjectVersion,
        put_content_timeout: Seconds,
    },
    Deleted {
        version: ObjectVersion,
    },
    StartSegmentGc {
        object_versions: Vec<ObjectVersion>,
        next_commit: LogIndex,
        tx: StartSegmentGcReply,
    },
    StopSegmentGc {
        tx: StopSegmentGcReply,
    },
}

MDSノードが発行するイベント.

Variants

Putted

メタデータオブジェクトが追加された.

Fields of Putted

version: ObjectVersionput_content_timeout: Seconds
Deleted

メタデータオブジェクトが削除された.

Fields of Deleted

version: ObjectVersion
StartSegmentGc

segment_gc の開始要求を行った。

Fields of StartSegmentGc

object_versions: Vec<ObjectVersion>next_commit: LogIndextx: StartSegmentGcReply
StopSegmentGc

segment_gc の停止要求を行った。

Fields of StopSegmentGc

tx: StopSegmentGcReply

Trait Implementations

impl Debug for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl !Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

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.