pub struct AuthDB_AuthDB1_Dispatcher<__Handler> { /* private fields */ }Implementations§
Source§impl<__Handler: AuthDB_AuthDB1> AuthDB_AuthDB1_Dispatcher<__Handler>
impl<__Handler: AuthDB_AuthDB1> AuthDB_AuthDB1_Dispatcher<__Handler>
Trait Implementations§
Source§impl<__Handler: AuthDB_AuthDB1> RpcHandler for AuthDB_AuthDB1_Dispatcher<__Handler>
impl<__Handler: AuthDB_AuthDB1> RpcHandler for AuthDB_AuthDB1_Dispatcher<__Handler>
Source§fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
proc: u32,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, RpcError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 self,
proc: u32,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, RpcError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Handle an incoming RPC call for the given procedure number.
Auto Trait Implementations§
impl<__Handler> Freeze for AuthDB_AuthDB1_Dispatcher<__Handler>
impl<__Handler> RefUnwindSafe for AuthDB_AuthDB1_Dispatcher<__Handler>where
Box<__Handler>: RefUnwindSafe,
impl<__Handler> Send for AuthDB_AuthDB1_Dispatcher<__Handler>
impl<__Handler> Sync for AuthDB_AuthDB1_Dispatcher<__Handler>
impl<__Handler> Unpin for AuthDB_AuthDB1_Dispatcher<__Handler>
impl<__Handler> UnsafeUnpin for AuthDB_AuthDB1_Dispatcher<__Handler>where
Box<__Handler>: UnsafeUnpin,
impl<__Handler> UnwindSafe for AuthDB_AuthDB1_Dispatcher<__Handler>where
Box<__Handler>: UnwindSafe,
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