pub struct BackgroundSession {
pub guard: JoinHandle<Result<()>>,
/* private fields */
}Expand description
The background session data structure
Fields§
§guard: JoinHandle<Result<()>>Thread guard of the background session
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackgroundSession
impl !RefUnwindSafe for BackgroundSession
impl Send for BackgroundSession
impl Sync for BackgroundSession
impl Unpin for BackgroundSession
impl !UnwindSafe for BackgroundSession
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