pub struct SendStatus {
pub devices: usize,
pub transfers_open: usize,
pub transfers_listed: usize,
pub pending_incoming: usize,
pub connections: usize,
pub warnings: usize,
pub scanning: bool,
pub process: Option<ProcessUsage>,
}Expand description
Runtime figures of a running service, computed on call by Service::status.
Fields§
§devices: usizeDevices on the nearby list.
transfers_open: usizeTransfers not yet finished.
transfers_listed: usizeTransfers held in the list, finished ones included until dismissed.
pending_incoming: usizeIncoming requests waiting for an answer.
connections: usizeConnections being served now (capped at 64).
warnings: usizeTyped warnings currently raised.
scanning: boolA sweep of the local networks is running.
process: Option<ProcessUsage>Resident memory, CPU time and I/O counters of the whole process (the acceptor, discovery and
liveness threads run in it), or None when the host cannot report them. See
rightkit_child_process::ProcessUsage.
Trait Implementations§
Source§impl Clone for SendStatus
impl Clone for SendStatus
Auto Trait Implementations§
impl Freeze for SendStatus
impl RefUnwindSafe for SendStatus
impl Send for SendStatus
impl Sync for SendStatus
impl Unpin for SendStatus
impl UnsafeUnpin for SendStatus
impl UnwindSafe for SendStatus
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