pub struct Media<'a> {
pub media_type: &'a [u8],
pub port: u16,
pub number_of_ports: i32,
pub protocol: &'a [u8],
pub formats: Vec<&'a [u8]>,
pub connection: Option<ConnectionData<'a>>,
pub attributes: Vec<&'a [u8]>,
}Fields§
§media_type: &'a [u8]§port: u16§number_of_ports: i32§protocol: &'a [u8]§formats: Vec<&'a [u8]>§connection: Option<ConnectionData<'a>>§attributes: Vec<&'a [u8]>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Media<'a>
impl<'a> RefUnwindSafe for Media<'a>
impl<'a> Send for Media<'a>
impl<'a> Sync for Media<'a>
impl<'a> Unpin for Media<'a>
impl<'a> UnwindSafe for Media<'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