pub struct RemoteCandidates(pub Vec<RemoteCandidate>);Expand description
Remote candidates attribute (a=remote-candidates)
Lists the remote ICE candidates corresponding to the nominated pair for each component of the data stream (RFC 8839 Section 5.2). The ordering of the components is irrelevant.
The grammar allows multiple entries in a single attribute; implementations
also send one entry per a=remote-candidates line, which results in
multiple attributes on the wire.
Tuple Fields§
§0: Vec<RemoteCandidate>Implementations§
Source§impl RemoteCandidates
impl RemoteCandidates
pub fn new(candidates: impl IntoIterator<Item = RemoteCandidate>) -> Self
Trait Implementations§
Source§impl Clone for RemoteCandidates
impl Clone for RemoteCandidates
Source§impl Debug for RemoteCandidates
impl Debug for RemoteCandidates
Source§impl Display for RemoteCandidates
impl Display for RemoteCandidates
impl Eq for RemoteCandidates
Source§impl FromStr for RemoteCandidates
impl FromStr for RemoteCandidates
Source§impl PartialEq for RemoteCandidates
impl PartialEq for RemoteCandidates
impl StructuralPartialEq for RemoteCandidates
Source§impl TypedAttribute for RemoteCandidates
impl TypedAttribute for RemoteCandidates
Auto Trait Implementations§
impl Freeze for RemoteCandidates
impl RefUnwindSafe for RemoteCandidates
impl Send for RemoteCandidates
impl Sync for RemoteCandidates
impl Unpin for RemoteCandidates
impl UnsafeUnpin for RemoteCandidates
impl UnwindSafe for RemoteCandidates
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