pub enum StunErrorType {
InvalidParam,
ValidationFailed,
ValueTooLong,
SmallBuffer,
}
Expand description
Defines the type of error
Variants§
InvalidParam
Invalid parameter
ValidationFailed
Failure to perform validations
ValueTooLong
Encoded or decoded value is bugger than the maximum allowed value
SmallBuffer
Small buffer
Trait Implementations§
source§impl Debug for StunErrorType
impl Debug for StunErrorType
source§impl Display for StunErrorType
impl Display for StunErrorType
source§impl PartialEq<StunError> for StunErrorType
impl PartialEq<StunError> for StunErrorType
source§impl PartialEq<StunErrorType> for StunError
impl PartialEq<StunErrorType> for StunError
source§impl PartialEq for StunErrorType
impl PartialEq for StunErrorType
impl Eq for StunErrorType
impl StructuralPartialEq for StunErrorType
Auto Trait Implementations§
impl Freeze for StunErrorType
impl RefUnwindSafe for StunErrorType
impl Send for StunErrorType
impl Sync for StunErrorType
impl Unpin for StunErrorType
impl UnwindSafe for StunErrorType
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