Struct qdb::NotificationManager
source · pub struct NotificationManager(/* private fields */);Implementations§
source§impl NotificationManager
impl NotificationManager
pub fn new() -> Self
pub fn clone(&self) -> Self
pub fn clear(&self)
pub fn register( &self, client: Client, config: &NotificationConfig, ) -> Result<Receiver<DatabaseNotification>>
pub fn unregister( &self, client: Client, token: &NotificationToken, ) -> Result<()>
pub fn process_notifications(&self, client: Client) -> Result<()>
Auto Trait Implementations§
impl Freeze for NotificationManager
impl !RefUnwindSafe for NotificationManager
impl !Send for NotificationManager
impl !Sync for NotificationManager
impl Unpin for NotificationManager
impl !UnwindSafe for NotificationManager
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