[][src]Trait async_graphql::guard::GuardExt

pub trait GuardExt: Guard + Sized {
    fn and<R: Guard>(self, other: R) -> And<Self, R> { ... }
fn or<R: Guard>(self, other: R) -> Or<Self, R> { ... } }

An extension trait for Guard.

Provided methods

fn and<R: Guard>(self, other: R) -> And<Self, R>

Perform and operator on two rules

fn or<R: Guard>(self, other: R) -> Or<Self, R>

Perform or operator on two rules

Loading content...

Implementors

impl<T: Guard> GuardExt for T[src]

Loading content...