pub struct Worker<F: FileSystem + Sync> {
pub(crate) queue: Queue,
server: Arc<Server<F>>,
tube: Arc<Mutex<Tube>>,
slot: u32,
}Fields§
§queue: Queue§server: Arc<Server<F>>§tube: Arc<Mutex<Tube>>§slot: u32Implementations§
Auto Trait Implementations§
impl<F> Freeze for Worker<F>
impl<F> !RefUnwindSafe for Worker<F>
impl<F> Send for Worker<F>where
F: Send,
impl<F> Sync for Worker<F>where
F: Send,
impl<F> Unpin for Worker<F>
impl<F> !UnwindSafe for Worker<F>
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