Struct bililivex::ApiService
source · pub struct ApiService { /* private fields */ }
Implementations§
source§impl ApiService
impl ApiService
pub fn new(auth: Auth) -> Self
sourcepub async fn service_start(&mut self)
pub async fn service_start(&mut self)
开启服务
pub async fn new_project( &mut self, code: String, app_id: i64 ) -> Option<CmdAgent>
pub async fn stop_project(&mut self, game_id: String)
pub async fn stop_all_projects(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ApiService
impl Send for ApiService
impl Sync for ApiService
impl Unpin for ApiService
impl !UnwindSafe for ApiService
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