[−][src]Struct rusty_ci::Worker
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
Methods
impl Worker
[src]
pub fn get_name(&self) -> String
[src]
Retrieves the name field of the struct
pub fn get_dir(&self) -> String
[src]
Retrieves the working dir field of the struct
pub fn get_password(&self) -> String
[src]
Retrieves the password field of the struct
Trait Implementations
impl From<Yaml> for Worker
[src]
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
impl Display for Worker
[src]
This is similar to the Display impl for the MasterConfig struct.
This returns the Python buildbot.tac
file for an individual worker.
Auto Trait Implementations
impl Sync for Worker
impl Unpin for Worker
impl Send for Worker
impl UnwindSafe for Worker
impl RefUnwindSafe for Worker
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,