pub struct ServerGuard {
pub upload_speed_event_receiver: Receiver<UploadSpeedEvent>,
pub download_speed_event_receiver: Receiver<DownloadSpeedEvent>,
pub log_event_receiver: Receiver<LogEvent>,
pub stop_signal: CancellationToken,
}Fields§
§upload_speed_event_receiver: Receiver<UploadSpeedEvent>§download_speed_event_receiver: Receiver<DownloadSpeedEvent>§log_event_receiver: Receiver<LogEvent>§stop_signal: CancellationTokenAuto Trait Implementations§
impl Freeze for ServerGuard
impl RefUnwindSafe for ServerGuard
impl Send for ServerGuard
impl Sync for ServerGuard
impl Unpin for ServerGuard
impl UnsafeUnpin for ServerGuard
impl UnwindSafe for ServerGuard
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