Struct rustun::message::InvalidMessage
source · pub struct InvalidMessage { /* private fields */ }
Expand description
Invalid message.
Implementations§
source§impl InvalidMessage
impl InvalidMessage
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.
sourcepub fn error(&self) -> &MessageError
pub fn error(&self) -> &MessageError
Returns a reference to the error object that describes why the message is invalid.
Trait Implementations§
source§impl Clone for InvalidMessage
impl Clone for InvalidMessage
source§fn clone(&self) -> InvalidMessage
fn clone(&self) -> InvalidMessage
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for InvalidMessage
impl Send for InvalidMessage
impl Sync for InvalidMessage
impl Unpin for InvalidMessage
impl !UnwindSafe for InvalidMessage
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