pub enum Body {
Offer {
binding: WebRtcBinding,
description: Vec<u8>,
},
Answer {
offer_id: EnvelopeId,
binding: WebRtcBinding,
description: Vec<u8>,
},
Candidate {
parent_id: EnvelopeId,
sequence: u32,
candidate: Vec<u8>,
},
Close {
reason: CloseCode,
},
CfrControl {
payload: Vec<u8>,
},
}Expand description
The kind-specific canonical FCP body.
Variants§
Offer
Opaque engine offer description and a binding digest.
Fields
§
binding: WebRtcBindingDigest of exact description and DTLS fingerprint bytes.
Answer
Opaque engine answer bound to one offer.
Fields
§
offer_id: EnvelopeIdComplete-envelope digest of the corresponding offer.
§
binding: WebRtcBindingDigest of exact description and DTLS fingerprint bytes.
Candidate
An opaque engine ICE candidate.
Fields
§
parent_id: EnvelopeIdComplete-envelope digest of the offer or answer it belongs to.
Close
A caller-defined close reason.
CfrControl
Opaque raw CFR payload bytes.
Trait Implementations§
impl Eq for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
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