pub enum StunPacketErrorType {
SmallBuffer,
InvalidStunPacket,
}Expand description
Describe the error type that can occur during the STUN packet decoding.
Variants§
SmallBuffer
The buffer is too small to hold the STUN packet.
InvalidStunPacket
The buffer does not contain a valid STUN header.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StunPacketErrorType
impl RefUnwindSafe for StunPacketErrorType
impl Send for StunPacketErrorType
impl Sync for StunPacketErrorType
impl Unpin for StunPacketErrorType
impl UnwindSafe for StunPacketErrorType
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