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§
Source§impl Drop for ApiService
impl Drop for ApiService
Auto Trait Implementations§
impl !RefUnwindSafe for ApiService
impl !UnwindSafe for ApiService
impl Freeze for ApiService
impl Send for ApiService
impl Sync for ApiService
impl Unpin for ApiService
impl UnsafeUnpin 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