Trait AppGetter

Source
pub trait AppGetter: Sized + AppPath {
    // Required methods
    async fn get_by_current_user() -> Result<Self, Self::Error>;
    async fn get_by_all_user() -> Result<Self, Self::Error>;
}
Expand description

application getter

Required Methods§

Source

async fn get_by_current_user() -> Result<Self, Self::Error>

Source

async fn get_by_all_user() -> Result<Self, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§