#[repr(C)]pub struct moq_binary_config {
pub compression: bool,
pub mime: *const c_char,
pub mime_len: usize,
}Expand description
Options for a binary data track, in either mode.
The mode is fixed by which constructor is called (moq_publish_binary_snapshot or moq_publish_binary_stream), so it is not in here.
Fields§
§compression: boolDEFLATE-compress each payload, advertised in the catalog entry.
mime: *const c_charThe payloads’ media type (e.g. image/jpeg), or NULL to leave it unstated.
mime_len: usizeLength of mime in bytes.
Auto Trait Implementations§
impl !Send for moq_binary_config
impl !Sync for moq_binary_config
impl Freeze for moq_binary_config
impl RefUnwindSafe for moq_binary_config
impl Unpin for moq_binary_config
impl UnsafeUnpin for moq_binary_config
impl UnwindSafe for moq_binary_config
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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