Struct stun_codec::BrokenMessage [−][src]
pub struct BrokenMessage { /* fields omitted */ }
STUN message of which MessageDecoder
could not decode the attribute part.
Methods
impl BrokenMessage
[src]
impl BrokenMessage
pub fn class(&self) -> MessageClass
[src]
pub fn class(&self) -> MessageClass
Returns the class of the message.
pub fn method(&self) -> Method
[src]
pub fn method(&self) -> Method
Returns the method of the message.
pub fn transaction_id(&self) -> TransactionId
[src]
pub fn transaction_id(&self) -> TransactionId
Returns the transaction ID of the message.
pub fn error(&self) -> &Error
[src]
pub fn error(&self) -> &Error
Returns a reference to the error object storing the cause of failure to decode the message.
Trait Implementations
impl Debug for BrokenMessage
[src]
impl Debug for BrokenMessage
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BrokenMessage
[src]
impl Clone for BrokenMessage
fn clone(&self) -> BrokenMessage
[src]
fn clone(&self) -> BrokenMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<BrokenMessage> for Error
[src]
impl From<BrokenMessage> for Error
fn from(f: BrokenMessage) -> Self
[src]
fn from(f: BrokenMessage) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for BrokenMessage
impl Send for BrokenMessage
impl Sync for BrokenMessage
impl Sync for BrokenMessage