Struct webrtc_mdns::message::resource::Resource
source · pub struct Resource {
pub header: ResourceHeader,
pub body: Option<Box<dyn ResourceBody>>,
}
Fields§
§header: ResourceHeader
§body: Option<Box<dyn ResourceBody>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resource
impl !RefUnwindSafe for Resource
impl !Send for Resource
impl !Sync for Resource
impl Unpin for Resource
impl !UnwindSafe for Resource
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