Skip to main content

StoreEvent

Trait StoreEvent 

Source
pub trait StoreEvent: Event {
    type Output;

    // Required methods
    fn result(&self) -> Result<Self::Output, Error>;
    fn error(&self) -> Error;
}
Expand description

Trait for defining events triggered when operations are performed on an object store.

Required Associated Types§

Source

type Output

The type of the result of the operation.

Required Methods§

Source

fn result(&self) -> Result<Self::Output, Error>

Returns the result of the operation.

Source

fn error(&self) -> Error

Returns the error of the operation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§