Enum stun_rs::error::StunErrorLevel
source · [−]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
Message(StunMessageError)
Invalid parameter
Attribute(StunAttributeError)
Small buffer
Trait Implementations
sourceimpl Debug for StunErrorLevel
impl Debug for StunErrorLevel
Auto Trait Implementations
impl !RefUnwindSafe for StunErrorLevel
impl !Send for StunErrorLevel
impl !Sync for StunErrorLevel
impl Unpin for StunErrorLevel
impl !UnwindSafe for StunErrorLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more