pub enum Transport {
Udp,
}Expand description
The transport a candidate names.
One variant, deliberately. RFC 8839 §5.1’s grammar is "UDP" / transport-extension, and sipx
checks candidates over UDP only — so a candidate naming anything else parses as far as this
type and is then dropped by Candidate::parse, rather than failing the description. A peer
offering an ICE-TCP candidate alongside UDP ones is offering something usable.
Variants§
Udp
UDP, the only transport sipx checks over.
Implementations§
Trait Implementations§
impl Copy for Transport
impl Eq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnsafeUnpin for Transport
impl UnwindSafe for Transport
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