pub struct Worker { /* private fields */ }Expand description
This struct holds the information that is used to build the worker buildbot.tac file
Each worker has:
- a name that is used by the builders to assign work,
- a password that the master uses to access the worker
- a working directory name that the bot will be created in
- the host address of the master bot, the ip
- the port of the master bot
Implementations§
Trait Implementations§
Source§impl Display for Worker
This is similar to the Display impl for the MasterConfig struct.
This returns the Python buildbot.tac file for an individual worker.
impl Display for Worker
This is similar to the Display impl for the MasterConfig struct.
This returns the Python buildbot.tac file for an individual worker.
Source§impl From<Yaml> for Worker
Convert a Yaml section to a Worker
impl From<Yaml> for Worker
Convert a Yaml section to a Worker
The worker requires that the yaml section has the following subsections:
masterhost, masterport, password, and basedir.
Masterhost holds the host address of the master bot,
Masterport hold the host port of the master bot.
Basedir holds the path of the working directory of the bot
Auto Trait Implementations§
impl Freeze for Worker
impl RefUnwindSafe for Worker
impl Send for Worker
impl Sync for Worker
impl Unpin for Worker
impl UnwindSafe for Worker
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