pub struct RecordingManager { /* private fields */ }Implementations§
Source§impl RecordingManager
impl RecordingManager
pub fn admit(&self, params: RecordingStartParams) -> Result<(), ServerError>
pub async fn start( &self, params: RecordingStartParams, page: Result<Page, ServerError>, ) -> Result<RecordingRecord, ServerError>
pub async fn get(&self, id: &str) -> Result<RecordingRecord, ServerError>
pub async fn stop(&self, id: &str) -> Result<RecordingRecord, ServerError>
pub async fn cancel(&self, id: &str) -> Result<RecordingRecord, ServerError>
pub async fn cancel_page(&self, page_id: &str) -> Result<(), ServerError>
pub fn request_shutdown(&self)
pub fn shutdown_timeout_error(&self) -> Option<ServerError>
pub async fn shutdown(&self) -> Result<(), ServerError>
Trait Implementations§
Source§impl Clone for RecordingManager
impl Clone for RecordingManager
Auto Trait Implementations§
impl !RefUnwindSafe for RecordingManager
impl !UnwindSafe for RecordingManager
impl Freeze for RecordingManager
impl Send for RecordingManager
impl Sync for RecordingManager
impl Unpin for RecordingManager
impl UnsafeUnpin for RecordingManager
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