pub enum ParseMode {
Strict,
Lenient,
}
Expand description
Mode for parsing SIP messages
- Strict: Rejects messages that don’t conform to RFC 3261 strictly
- Lenient: Attempts to recover from common errors like mismatched Content-Length
Variants§
Trait Implementations§
impl StructuralPartialEq for ParseMode
Auto Trait Implementations§
impl Freeze for ParseMode
impl RefUnwindSafe for ParseMode
impl Send for ParseMode
impl Sync for ParseMode
impl Unpin for ParseMode
impl UnwindSafe for ParseMode
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