pub struct PisPasTrayIcon { /* private fields */ }Implementations§
Source§impl PisPasTrayIcon
impl PisPasTrayIcon
pub fn get_id_configurator(&self) -> &MenuId
pub fn get_id_about(&self) -> &MenuId
pub fn get_id_start(&self) -> &MenuId
pub fn get_id_stop(&self) -> &MenuId
pub fn get_id_quit(&self) -> &MenuId
pub fn get_id_check_update(&self) -> &MenuId
pub fn get_id_restart(&self) -> &MenuId
pub fn build_event_loop() -> (&'static MenuEventReceiver, &'static TrayIconEventReceiver, EventLoop<()>)
pub fn get_stream(&self) -> Option<Arc<RwLock<TcpStream>>>
pub fn tray_connect(&mut self) -> TrayIconResult<()>
pub fn build() -> TrayIconResult<Self>
pub fn run_suscriber(&mut self, cancel: Arc<AtomicBool>)
pub fn change_status(&mut self, status: DriverStatus) -> TrayIconResult<()>
pub fn change_status_main_thread( &mut self, status: DriverStatus, ) -> TrayIconResult<()>
pub fn launched(&mut self) -> TrayIconResult<()>
pub fn run_subscriber_background( &self, cancel: Arc<AtomicBool>, status_sender: Sender<DriverStatus>, )
pub fn running(&mut self) -> TrayIconResult<()>
pub fn stopped(&mut self) -> TrayIconResult<()>
pub fn warning(&mut self) -> TrayIconResult<()>
pub fn log_dir() -> PathBuf
pub fn about(&self)
pub fn open_configurator(&mut self)
pub fn download_drivers(&mut self)
pub fn subscribe_service(&mut self)
pub fn send_action(&mut self, action: Action) -> PisPasResult<()>
pub fn check_updates(&mut self) -> PisPasResult<()>
pub fn stop_service(&mut self) -> PisPasResult<()>
pub fn start_service(&mut self) -> PisPasResult<()>
pub fn restart(&mut self) -> PisPasResult<()>
pub fn close_socket(&mut self) -> PisPasResult<()>
pub fn read_channel( &mut self, stream: Arc<RwLock<TcpStream>>, cancel: Arc<AtomicBool>, ) -> String
Trait Implementations§
Source§impl Clone for PisPasTrayIcon
impl Clone for PisPasTrayIcon
Source§fn clone(&self) -> PisPasTrayIcon
fn clone(&self) -> PisPasTrayIcon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Send for PisPasTrayIcon
impl Sync for PisPasTrayIcon
Auto Trait Implementations§
impl Freeze for PisPasTrayIcon
impl !RefUnwindSafe for PisPasTrayIcon
impl Unpin for PisPasTrayIcon
impl !UnwindSafe for PisPasTrayIcon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more