pub fn assign_machine(machine: ShareableMachine) {
        match &server.borrow().scheduler {
            ServerField::Scheduler(scheduler) => scheduler.assign_machine(machine),
            _ => log::error!("Server not running, unable to assign machine."),
        }
    }
// assign a machine to the scheduler
assign a machine to the scheduler
assign a machine to the scheduler
pub fn assign_machine(machine: ShareableMachine) {
        match &server.borrow().scheduler {
            ServerField::Scheduler(scheduler) => scheduler.assign_machine(machine),
            _ => log::error!("Server not running, unable to assign machine."),
        }
    }
pub fn assign_machine ( machine : ShareableMachine ) { match & server . borrow ( ) . scheduler { ServerField :: Scheduler ( scheduler ) => scheduler . assign_machine ( machine ) , _ => log :: error ! ( " " ) , } }
assign a machine to the scheduler
assign a machine to the scheduler
machine
ShareableMachine