pub struct StunAttributeError {
pub attr_type: Option<AttributeType>,
pub position: usize,
pub error: StunError,
}
Expand description
Describes the error happened when parsing an StunAttribute
Fields§
§attr_type: Option<AttributeType>
The attribute type, if it is known
position: usize
The position of the attribute in the StunMessage
error: StunError
The error
Trait Implementations§
source§impl Debug for StunAttributeError
impl Debug for StunAttributeError
Auto Trait Implementations§
impl Freeze for StunAttributeError
impl !RefUnwindSafe for StunAttributeError
impl !Send for StunAttributeError
impl !Sync for StunAttributeError
impl Unpin for StunAttributeError
impl !UnwindSafe for StunAttributeError
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