pub struct NoopTrayService;Expand description
Does nothing. For headless runs, CLI builds, and tests.
Trait Implementations§
Source§impl Clone for NoopTrayService
impl Clone for NoopTrayService
Source§fn clone(&self) -> NoopTrayService
fn clone(&self) -> NoopTrayService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoopTrayService
Source§impl Debug for NoopTrayService
impl Debug for NoopTrayService
Source§impl Default for NoopTrayService
impl Default for NoopTrayService
Source§fn default() -> NoopTrayService
fn default() -> NoopTrayService
Returns the “default value” for a type. Read more
Source§impl TrayService for NoopTrayService
impl TrayService for NoopTrayService
Source§fn set_title<'life0, 'life1, 'async_trait>(
&'life0 self,
title: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn set_title<'life0, 'life1, 'async_trait>(
&'life0 self,
title: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Change the tray tooltip — the text shown on hover.
Source§fn set_badge<'life0, 'async_trait>(
&'life0 self,
badge: TrayBadge,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_badge<'life0, 'async_trait>(
&'life0 self,
badge: TrayBadge,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Replace the badge on the tray icon.
Replace the menu. Items are shown in the order given. Read more
Auto Trait Implementations§
impl Freeze for NoopTrayService
impl RefUnwindSafe for NoopTrayService
impl Send for NoopTrayService
impl Sync for NoopTrayService
impl Unpin for NoopTrayService
impl UnsafeUnpin for NoopTrayService
impl UnwindSafe for NoopTrayService
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