pub enum StunErrorLevel {
Message(StunMessageError),
Attribute(StunAttributeError),
}
Expand description
Indicates if the error happened when parsing the message, for example if the input buffer is shorter than the length indicated in the STUN header, or if the error happened parsing an attribute.
Variants§
Trait Implementations§
source§impl Debug for StunErrorLevel
impl Debug for StunErrorLevel
Auto Trait Implementations§
impl Freeze for StunErrorLevel
impl !RefUnwindSafe for StunErrorLevel
impl !Send for StunErrorLevel
impl !Sync for StunErrorLevel
impl Unpin for StunErrorLevel
impl !UnwindSafe for StunErrorLevel
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