pub struct ServiceNotifier { /* private fields */ }Expand description
An app’s end of its notification connection: a Rust app’s Notifier, the same service a
tilolang instance reaches.
Implementations§
Trait Implementations§
Source§impl Notifier for ServiceNotifier
impl Notifier for ServiceNotifier
fn show(&self, notification: &Notification) -> Result<(), NotifyError>
fn withdraw(&self, tag: &str) -> Result<(), NotifyError>
fn schedule( &self, notification: &Notification, at: SystemTime, ) -> Result<(), NotifyError>
fn schedule_alarm( &self, notification: &Notification, at: SystemTime, schedule: AlarmSchedule, ) -> Result<(), NotifyError>
fn scheduled(&self) -> Result<Vec<Scheduled>, NotifyError>
Source§fn alarm_states(&self) -> Result<Vec<AlarmState>, NotifyError>
fn alarm_states(&self) -> Result<Vec<AlarmState>, NotifyError>
Calendar handoffs and delivered occurrences owned by this app; a host that keeps
only an absolute deadline returns none.
fn cancel_scheduled(&self, tag: &str) -> Result<(), NotifyError>
Auto Trait Implementations§
impl Forget for ServiceNotifier
impl Freeze for ServiceNotifier
impl Move for ServiceNotifier
impl RefUnwindSafe for ServiceNotifier
impl Send for ServiceNotifier
impl Sync for ServiceNotifier
impl Unpin for ServiceNotifier
impl UnsafeUnpin for ServiceNotifier
impl UnwindSafe for ServiceNotifier
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