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 BrokenMessagepub fn class(&self) -> MessageClass[src]
pub fn class(&self) -> MessageClassReturns the class of the message.
pub fn method(&self) -> Method[src]
pub fn method(&self) -> MethodReturns the method of the message.
pub fn transaction_id(&self) -> TransactionId[src]
pub fn transaction_id(&self) -> TransactionIdReturns the transaction ID of the message.
pub fn error(&self) -> &Error[src]
pub fn error(&self) -> &ErrorReturns 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 BrokenMessagefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for BrokenMessage[src]
impl Clone for BrokenMessagefn clone(&self) -> BrokenMessage[src]
fn clone(&self) -> BrokenMessageReturns 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 Errorfn from(f: BrokenMessage) -> Self[src]
fn from(f: BrokenMessage) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for BrokenMessage
impl Send for BrokenMessageimpl Sync for BrokenMessage
impl Sync for BrokenMessage