pub enum RidIdGrammar {
Corrected,
Published,
}Expand description
The rid-id grammar a line is read with.
RFC 8851 section 10 as published has rid-id = 1*(alpha-numeric / "-" / "_"); erratum
7132 (Verified 2022-10-13) corrects it to rid-id = 1*255(alpha-numeric), “consistent with
the rules for the RtpStreamId/RepairedRtpStreamId SDES from RFC 8852 section 3”. The
corrected grammar is the default; Rid::parse, Simulcast::parse and Rid::new
use it.
Variants§
Corrected
1*255(alpha-numeric) (erratum 7132).
Published
1*(alpha-numeric / "-" / "_"), of any length: RFC 8851 as published.
Implementations§
Trait Implementations§
Source§impl Clone for RidIdGrammar
impl Clone for RidIdGrammar
impl Copy for RidIdGrammar
Source§impl Debug for RidIdGrammar
impl Debug for RidIdGrammar
Source§impl Default for RidIdGrammar
impl Default for RidIdGrammar
impl Eq for RidIdGrammar
Source§impl PartialEq for RidIdGrammar
impl PartialEq for RidIdGrammar
impl StructuralPartialEq for RidIdGrammar
Auto Trait Implementations§
impl Forget for RidIdGrammar
impl Freeze for RidIdGrammar
impl Move for RidIdGrammar
impl RefUnwindSafe for RidIdGrammar
impl Send for RidIdGrammar
impl Sync for RidIdGrammar
impl Unpin for RidIdGrammar
impl UnsafeUnpin for RidIdGrammar
impl UnwindSafe for RidIdGrammar
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