pub struct AuthStateListeners { /* private fields */ }Implementations§
Source§impl AuthStateListeners
impl AuthStateListeners
Sourcepub fn add_observer(&self, observer: PartialObserver<Arc<User>>)
pub fn add_observer(&self, observer: PartialObserver<Arc<User>>)
Registers a new observer to receive auth state changes.
Trait Implementations§
Source§impl Default for AuthStateListeners
impl Default for AuthStateListeners
Source§fn default() -> AuthStateListeners
fn default() -> AuthStateListeners
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for AuthStateListeners
impl RefUnwindSafe for AuthStateListeners
impl Send for AuthStateListeners
impl Sync for AuthStateListeners
impl Unpin for AuthStateListeners
impl UnwindSafe for AuthStateListeners
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