pub struct Service<T>{ /* private fields */ }namespace-appbsky only.Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn abort_upload(&self, input: Input) -> Result<Output, Error>
pub async fn abort_upload(&self, input: Input) -> Result<Output, Error>
Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.
Sourcepub async fn finish_upload(&self, input: Input) -> Result<Output, Error>
pub async fn finish_upload(&self, input: Input) -> Result<Output, Error>
Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call.
Sourcepub async fn get_job_status(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_job_status(&self, params: Parameters) -> Result<Output, Error>
Get status details for a video processing job.
Sourcepub async fn get_upload_limits(&self) -> Result<Output, Error>
pub async fn get_upload_limits(&self) -> Result<Output, Error>
Get video upload limits for the authenticated user.
Sourcepub async fn get_upload_status(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_upload_status( &self, params: Parameters, ) -> Result<Output, Error>
Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions.
Sourcepub async fn start_upload(&self, input: Input) -> Result<Output, Error>
pub async fn start_upload(&self, input: Input) -> Result<Output, Error>
Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.
Sourcepub async fn upload_part(&self, input: Vec<u8>) -> Result<Output, Error>
pub async fn upload_part(&self, input: Vec<u8>) -> Result<Output, Error>
Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.