Struct stun::error_code::ErrorCodeAttribute
source · pub struct ErrorCodeAttribute {
pub code: ErrorCode,
pub reason: Vec<u8>,
}
Fields§
§code: ErrorCode
§reason: Vec<u8>
Trait Implementations§
source§impl Default for ErrorCodeAttribute
impl Default for ErrorCodeAttribute
source§fn default() -> ErrorCodeAttribute
fn default() -> ErrorCodeAttribute
Returns the “default value” for a type. Read more
source§impl Display for ErrorCodeAttribute
impl Display for ErrorCodeAttribute
source§impl Getter for ErrorCodeAttribute
impl Getter for ErrorCodeAttribute
Auto Trait Implementations§
impl Freeze for ErrorCodeAttribute
impl RefUnwindSafe for ErrorCodeAttribute
impl Send for ErrorCodeAttribute
impl Sync for ErrorCodeAttribute
impl Unpin for ErrorCodeAttribute
impl UnwindSafe for ErrorCodeAttribute
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