Struct vit_servicing_station_tests::common::server::Server
source · pub struct Server {
process: Child,
settings: ServiceSettings,
log_file: PathBuf,
}
Fields§
§process: Child
§settings: ServiceSettings
§log_file: PathBuf
Implementations§
source§impl Server
impl Server
pub fn new(process: Child, settings: ServiceSettings, log_file: PathBuf) -> Self
pub fn rest_client(&self) -> RestClient
pub fn settings(&self) -> ServiceSettings
pub fn rest_client_with_token(&self, token: &str) -> RestClient
pub fn logger(&self) -> Logger
pub fn is_token_valid(&self, token: &str) -> bool
pub fn is_up(&self, token: &str) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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