Skip to main content

EdgeAuth

Trait EdgeAuth 

Source
pub trait EdgeAuth:
    Send
    + Sync
    + 'static {
    // Required method
    fn check<'r>(
        &'r self,
        from: NodeId,
        request: &'r EdgeRequestEnum,
    ) -> impl Future<Output = Result<(), EdgeAuthError>> + Send + 'r;
}

Required Methods§

Source

fn check<'r>( &'r self, from: NodeId, request: &'r EdgeRequestEnum, ) -> impl Future<Output = Result<(), EdgeAuthError>> + Send + 'r

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§