pub struct AuthApp { /* private fields */ }Implementations§
Source§impl AuthApp
impl AuthApp
Sourcepub fn new(
security: &Security,
listener_senders: Vec<(ListenerId, Sender<AuthToListenerCmd>)>,
listener_receiver: Receiver<ListenerToAuthCmd>,
server_ctx_receiver: Receiver<ServerContextToAuthCmd>,
) -> Result<Self, Error>
pub fn new( security: &Security, listener_senders: Vec<(ListenerId, Sender<AuthToListenerCmd>)>, listener_receiver: Receiver<ListenerToAuthCmd>, server_ctx_receiver: Receiver<ServerContextToAuthCmd>, ) -> Result<Self, Error>
pub async fn run_loop(&mut self) -> !
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthApp
impl RefUnwindSafe for AuthApp
impl Send for AuthApp
impl Sync for AuthApp
impl Unpin for AuthApp
impl UnsafeUnpin for AuthApp
impl UnwindSafe for AuthApp
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