pub struct AudioIngress { /* private fields */ }Expand description
Cloneable handle to durable, automatically processed audio.
Implementations§
Source§impl AudioIngress
impl AudioIngress
Sourcepub async fn open(
persistence_root: impl AsRef<Path>,
transcriber: AudioTranscriber,
) -> Result<Self, Error>
pub async fn open( persistence_root: impl AsRef<Path>, transcriber: AudioTranscriber, ) -> Result<Self, Error>
Opens the owned persistence root and starts automatic processing.
Sourcepub async fn submit(&self, input: AudioInput) -> Result<Submission, Error>
pub async fn submit(&self, input: AudioInput) -> Result<Submission, Error>
Durably accepts complete WAV bytes and schedules automatic processing.
Trait Implementations§
Source§impl Clone for AudioIngress
impl Clone for AudioIngress
Source§fn clone(&self) -> AudioIngress
fn clone(&self) -> AudioIngress
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 AudioIngress
impl !UnwindSafe for AudioIngress
impl Freeze for AudioIngress
impl Send for AudioIngress
impl Sync for AudioIngress
impl Unpin for AudioIngress
impl UnsafeUnpin for AudioIngress
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