pub struct Coordinator { /* private fields */ }Expand description
Cloneable typed coordinator over AudioIngress and Session History.
Implementations§
Source§impl Coordinator
impl Coordinator
pub fn new( audio: AudioIngress, history: SessionHistory, config: Config, ) -> Result<Self, Error>
pub fn health(&self) -> Result<(), Error>
pub async fn submit( &self, input: RecordingInput, ) -> Result<RecordingSubmission, Error>
pub async fn recordings(&self) -> Result<Vec<Recording>, Error>
pub async fn recording_by_sha256( &self, sha256: &str, ) -> Result<Recording, Error>
pub async fn recording_history( &self, recording_id: Uuid, ) -> Result<RecordingHistory, Error>
pub fn retry_recording(&self, recording_id: Uuid) -> Result<(), Error>
pub async fn confirm_speakers( &self, confirmation: RecordingConfirmation, ) -> Result<CorrectionPacket, Error>
pub async fn retry_ingress( &self, input: RetryIngress, ) -> Result<SessionRecord, Error>
pub async fn synchronize_completed_transcripts(&self) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for Coordinator
impl Clone for Coordinator
Source§fn clone(&self) -> Coordinator
fn clone(&self) -> Coordinator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Coordinator
impl !UnwindSafe for Coordinator
impl Freeze for Coordinator
impl Send for Coordinator
impl Sync for Coordinator
impl Unpin for Coordinator
impl UnsafeUnpin for Coordinator
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