pub struct ExternalDecryptRequest<'a> {
pub engine: DecryptionEngine,
pub program: &'a Path,
pub keys: &'a [String],
pub source: &'a Path,
pub dest: &'a Path,
pub kid: Option<&'a str>,
pub init: Option<&'a Path>,
pub is_multi_drm: bool,
}Expand description
Input for planning an external MP4 decrypt command.
Fields§
§engine: DecryptionEngineRequested decrypt engine.
program: &'a PathProgram path.
keys: &'a [String]Available key pairs in engine-compatible text form.
source: &'a PathEncrypted source path.
dest: &'a PathDecrypted destination path.
kid: Option<&'a str>Optional KID in lowercase hex.
init: Option<&'a Path>Optional initialization segment path.
is_multi_drm: boolWhether the source metadata indicates multi-DRM handling.
Trait Implementations§
Source§impl<'a> Clone for ExternalDecryptRequest<'a>
impl<'a> Clone for ExternalDecryptRequest<'a>
Source§fn clone(&self) -> ExternalDecryptRequest<'a>
fn clone(&self) -> ExternalDecryptRequest<'a>
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 moreimpl<'a> Copy for ExternalDecryptRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExternalDecryptRequest<'a>
impl<'a> RefUnwindSafe for ExternalDecryptRequest<'a>
impl<'a> Send for ExternalDecryptRequest<'a>
impl<'a> Sync for ExternalDecryptRequest<'a>
impl<'a> Unpin for ExternalDecryptRequest<'a>
impl<'a> UnsafeUnpin for ExternalDecryptRequest<'a>
impl<'a> UnwindSafe for ExternalDecryptRequest<'a>
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