pub struct EdgeAuthService { /* private fields */ }Implementations§
Source§impl EdgeAuthService
impl EdgeAuthService
pub fn new<T>(inner: T) -> Selfwhere
T: EdgeAuth,
pub async fn check( &self, from: NodeId, request: &EdgeRequestEnum, ) -> Result<(), EdgeAuthError>
Trait Implementations§
Source§impl Clone for EdgeAuthService
impl Clone for EdgeAuthService
Source§fn clone(&self) -> EdgeAuthService
fn clone(&self) -> EdgeAuthService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeAuthService
impl Debug for EdgeAuthService
Auto Trait Implementations§
impl !RefUnwindSafe for EdgeAuthService
impl !UnwindSafe for EdgeAuthService
impl Freeze for EdgeAuthService
impl Send for EdgeAuthService
impl Sync for EdgeAuthService
impl Unpin for EdgeAuthService
impl UnsafeUnpin for EdgeAuthService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more