pub struct LocalAsyncVideoFileServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C> AsyncService<C> for LocalAsyncVideoFileServiceClient<C>
impl<C> AsyncService<C> for LocalAsyncVideoFileServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an async HTTP client.
Source§impl<C: Clone> Clone for LocalAsyncVideoFileServiceClient<C>
impl<C: Clone> Clone for LocalAsyncVideoFileServiceClient<C>
Source§fn clone(&self) -> LocalAsyncVideoFileServiceClient<C>
fn clone(&self) -> LocalAsyncVideoFileServiceClient<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for LocalAsyncVideoFileServiceClient<C>
impl<C: Debug> Debug for LocalAsyncVideoFileServiceClient<C>
Source§impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncVideoFileService<I> for LocalAsyncVideoFileServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncVideoFileService<I> for LocalAsyncVideoFileServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
Source§async fn create(
&self,
auth_: &BearerToken,
request: &CreateVideoFileRequest,
) -> Result<VideoFile, Error>
async fn create( &self, auth_: &BearerToken, request: &CreateVideoFileRequest, ) -> Result<VideoFile, Error>
Create and persist a video file entity with the given metadata
Source§async fn get(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
) -> Result<VideoFile, Error>
async fn get( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<VideoFile, Error>
Returns video file metadata associated with a video file RID.
Source§async fn batch_get(
&self,
auth_: &BearerToken,
video_file_rids: &BTreeSet<VideoFileRid>,
) -> Result<BTreeSet<VideoFile>, Error>
async fn batch_get( &self, auth_: &BearerToken, video_file_rids: &BTreeSet<VideoFileRid>, ) -> Result<BTreeSet<VideoFile>, Error>
Returns all video files and their metadata associated with the given RIDs
async fn list_files_in_video( &self, auth_: &BearerToken, video_rid: &VideoRid, ) -> Result<BTreeSet<VideoFile>, Error>
Source§async fn list_files_in_video_paginated(
&self,
auth_: &BearerToken,
video_rid: &ListFilesInVideoRequest,
) -> Result<ListFilesInVideoResponse, Error>
async fn list_files_in_video_paginated( &self, auth_: &BearerToken, video_rid: &ListFilesInVideoRequest, ) -> Result<ListFilesInVideoResponse, Error>
Returns a paginated list of all video files and their metadata associated with the given video RID.
Source§async fn update(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
request: &UpdateVideoFileRequest,
) -> Result<VideoFile, Error>
async fn update( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, request: &UpdateVideoFileRequest, ) -> Result<VideoFile, Error>
Updates the metadata for a video file associated with the given RID.
Source§async fn delete(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
) -> Result<(), Error>
async fn delete( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<(), Error>
Permanently deletes a video file and all associated segments from the database.
This operation cannot be undone.
async fn archive( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<(), Error>
async fn unarchive( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<(), Error>
Source§async fn get_ingest_status(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
) -> Result<GetIngestStatusResponse, Error>
async fn get_ingest_status( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<GetIngestStatusResponse, Error>
Get the latest ingest status for a given video file by RID.
Source§async fn batch_get_ingest_status(
&self,
auth_: &BearerToken,
video_file_rids: &BTreeSet<VideoFileRid>,
) -> Result<BTreeMap<VideoFileRid, VideoFileIngestStatus>, Error>
async fn batch_get_ingest_status( &self, auth_: &BearerToken, video_file_rids: &BTreeSet<VideoFileRid>, ) -> Result<BTreeMap<VideoFileRid, VideoFileIngestStatus>, Error>
Get the latest ingest status for a set of given video files by RID.
Source§async fn update_ingest_status(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
request: &UpdateIngestStatusRequest,
) -> Result<(), Error>
async fn update_ingest_status( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, request: &UpdateIngestStatusRequest, ) -> Result<(), Error>
Update the latest ingest status for a given video file by RID.
Source§async fn get_segment_summaries(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
) -> Result<Vec<SegmentSummary>, Error>
async fn get_segment_summaries( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<Vec<SegmentSummary>, Error>
Returns the min and max absolute and media timestamps for each segment in a video file.
To be used during frame-timestamp mapping when playing back videos.
Source§async fn get_playlist(
&self,
auth_: &BearerToken,
video_file_rid: &VideoFileRid,
) -> Result<I, Error>
async fn get_playlist( &self, auth_: &BearerToken, video_file_rid: &VideoFileRid, ) -> Result<I, Error>
Generate an HLS playlist for a video file with the given RID to enable playback.
The HLS playlist will contain links to all of the video segments in the video in sequential order.
Auto Trait Implementations§
impl<C> Freeze for LocalAsyncVideoFileServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for LocalAsyncVideoFileServiceClient<C>
impl<C> Send for LocalAsyncVideoFileServiceClient<C>where
C: Send,
impl<C> Sync for LocalAsyncVideoFileServiceClient<C>where
C: Sync,
impl<C> Unpin for LocalAsyncVideoFileServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for LocalAsyncVideoFileServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for LocalAsyncVideoFileServiceClient<C>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request