pub struct Worker<C: Context + 'static> {
pub hostname: String,
pub description: Option<String>,
pub last_ping: Option<DateTime<Utc>>,
pub state: State,
pub health: Health,
pub job_limit: i64,
pub version: Option<String>,
pub master_version_notified: Option<String>,
/* private fields */
}
Expand description
A worker in the LAVA API
Fields§
§hostname: String
§description: Option<String>
§last_ping: Option<DateTime<Utc>>
§state: State
§health: Health
§job_limit: i64
§version: Option<String>
§master_version_notified: Option<String>
Trait Implementations§
Source§impl<'r, 'a, C, A> AsForeignKeyWithContext<'a, 'r, A> for Worker<C>
impl<'r, 'a, C, A> AsForeignKeyWithContext<'a, 'r, A> for Worker<C>
type CellReducer = SerializerCellReducer<'a, Serializer<A>>
fn get_cell_reducer(access: A, key: &'a str) -> Self::CellReducer
Source§impl<C: Context + 'static> Contextual for Worker<C>
impl<C: Context + 'static> Contextual for Worker<C>
Source§impl<'f, C, A> FilterableWithContext<'f, A> for Worker<C>
impl<'f, C, A> FilterableWithContext<'f, A> for Worker<C>
Source§impl<'r, C, A> IntoRowWithContext<'r, A> for Worker<C>
impl<'r, C, A> IntoRowWithContext<'r, A> for Worker<C>
type Serializer = Serializer<A>
Source§fn get_serializer(access: A) -> Self::Serializer
fn get_serializer(access: A) -> Self::Serializer
accessor
is some context valueSource§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Arc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Arc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Cell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Cell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Mutex<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Mutex<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Option<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Option<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Proxy<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C> + Contextual<Context = C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Owner<BoulderExtraGenericParam> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Proxy<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C> + Contextual<Context = C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Owner<BoulderExtraGenericParam> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Rc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for Rc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for RefCell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniBuildableWithPersianRug<Worker<C>, C> for RefCell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniBuildableWithPersianRug<Worker<C>, C>,
Builder<BoulderExtraGenericParam, C>: MiniBuilderWithPersianRug<C, Result = BoulderExtraGenericParam>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Arc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Arc<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Arc<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Arc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Arc<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Arc<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<Arc<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Cell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Cell<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Cell<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Cell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Cell<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Cell<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<Cell<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Mutex<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Mutex<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Mutex<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Mutex<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Mutex<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Mutex<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<Mutex<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Option<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Option<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Option<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Option<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Option<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Option<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<Option<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Proxy<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C> + Contextual<Context = C>,
Generator<Proxy<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Proxy<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Owner<BoulderExtraGenericParam> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Proxy<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C> + Contextual<Context = C>,
Generator<Proxy<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Proxy<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Owner<BoulderExtraGenericParam> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<Proxy<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Rc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Rc<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Rc<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for Rc<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<Rc<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = Rc<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<Rc<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for RefCell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<RefCell<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = RefCell<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
impl<BoulderExtraGenericParam, C> MiniGeneratableWithPersianRug<Worker<C>, C> for RefCell<BoulderExtraGenericParam>where
BoulderExtraGenericParam: MiniGeneratableWithPersianRug<Worker<C>, C>,
Generator<RefCell<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>: MiniGeneratorWithPersianRug<C, Output = RefCell<BoulderExtraGenericParam>>,
C: Context + Owner<Worker<C>> + Context + 'static,
Worker<C>: Contextual<Context = C>,
type Generator = Generator<RefCell<BoulderExtraGenericParam>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl<C> MiniGeneratableWithPersianRug<Worker<C>, C> for Worker<C>
impl<C> MiniGeneratableWithPersianRug<Worker<C>, C> for Worker<C>
type Generator = Generator<Worker<C>, C, GeneratorToGeneratorWithPersianRugWrapper<PhantomData<C>>, GeneratorToGeneratorWithPersianRugWrapper<String>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<DateTime<Utc>>>, GeneratorToGeneratorWithPersianRugWrapper<State>, GeneratorToGeneratorWithPersianRugWrapper<Health>, GeneratorToGeneratorWithPersianRugWrapper<i64>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>, GeneratorToGeneratorWithPersianRugWrapper<Option<String>>>
fn mini_generator() -> Self::Generator
Source§impl Owner<Worker<State>> for State
impl Owner<Worker<State>> for State
Source§fn add(&mut self, what: Worker<State>) -> Proxy<Worker<State>>
fn add(&mut self, what: Worker<State>) -> Proxy<Worker<State>>
Insert the given value, obtaining a
Proxy
for it.Source§fn get(&self, what: &Proxy<Worker<State>>) -> &Worker<State>
fn get(&self, what: &Proxy<Worker<State>>) -> &Worker<State>
Get a shared reference to a value from a
Proxy
for it.Source§fn get_mut(&mut self, what: &Proxy<Worker<State>>) -> &mut Worker<State>
fn get_mut(&mut self, what: &Proxy<Worker<State>>) -> &mut Worker<State>
Get an exclusive reference to a value from a
Proxy
for it.Source§fn get_iter(&self) -> TableIterator<'_, Worker<State>>
fn get_iter(&self) -> TableIterator<'_, Worker<State>>
Iterate over shared references to the stored values.
Source§fn get_iter_mut(&mut self) -> TableMutIterator<'_, Worker<State>>
fn get_iter_mut(&mut self) -> TableMutIterator<'_, Worker<State>>
Iterate over exclusive references to the stored values.
Source§fn get_proxy_iter(&self) -> TableProxyIterator<'_, Worker<State>>
fn get_proxy_iter(&self) -> TableProxyIterator<'_, Worker<State>>
Iterate over shared references to
Proxy
objects for the
stored values.Source§impl<'s, C, A> SortableWithContext<'s, A> for Worker<C>
impl<'s, C, A> SortableWithContext<'s, A> for Worker<C>
Auto Trait Implementations§
impl<C> Freeze for Worker<C>
impl<C> RefUnwindSafe for Worker<C>where
C: RefUnwindSafe,
impl<C> Send for Worker<C>where
C: Send,
impl<C> Sync for Worker<C>where
C: Sync,
impl<C> Unpin for Worker<C>where
C: Unpin,
impl<C> UnwindSafe for Worker<C>where
C: UnwindSafe,
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