pub trait BackendPromise {
type Output;
// Required methods
fn sync(self) -> StatelessBackendResult<Self::Output>;
fn is_ready(&self) -> bool;
}Expand description
Trait for representing pending encoder output.
Required Associated Types§
Required Methods§
Sourcefn sync(self) -> StatelessBackendResult<Self::Output>
fn sync(self) -> StatelessBackendResult<Self::Output>
Return coded result of the processing. Blocks if processing is not finished yet.