Struct stun_rs::error::StunAttributeError
source · [−]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: usizeThe position of the attribute in the StunMessage
error: StunErrorThe error
Trait Implementations
sourceimpl Debug for StunAttributeError
impl Debug for StunAttributeError
Auto Trait Implementations
impl !RefUnwindSafe for StunAttributeError
impl !Send for StunAttributeError
impl !Sync for StunAttributeError
impl Unpin for StunAttributeError
impl !UnwindSafe for StunAttributeError
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