Struct stun_codec::BrokenMessage
source · pub struct BrokenMessage { /* private fields */ }
Expand description
STUN message of which MessageDecoder
could not decode the attribute part.
Implementations§
source§impl BrokenMessage
impl BrokenMessage
sourcepub fn class(&self) -> MessageClass
pub fn class(&self) -> MessageClass
Returns the class of the message.
sourcepub fn transaction_id(&self) -> TransactionId
pub fn transaction_id(&self) -> TransactionId
Returns the transaction ID of the message.
Trait Implementations§
source§impl Clone for BrokenMessage
impl Clone for BrokenMessage
source§fn clone(&self) -> BrokenMessage
fn clone(&self) -> BrokenMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BrokenMessage
impl Debug for BrokenMessage
source§impl From<BrokenMessage> for Error
impl From<BrokenMessage> for Error
source§fn from(f: BrokenMessage) -> Self
fn from(f: BrokenMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BrokenMessage
impl !RefUnwindSafe for BrokenMessage
impl Send for BrokenMessage
impl Sync for BrokenMessage
impl Unpin for BrokenMessage
impl !UnwindSafe for BrokenMessage
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