Struct rabbitmq_stream_protocol::types::PublishingError
source · pub struct PublishingError {
pub publishing_id: u64,
pub error_code: ResponseCode,
}
Fields§
§publishing_id: u64
§error_code: ResponseCode
Implementations§
source§impl PublishingError
impl PublishingError
pub fn new(publishing_id: u64, error_code: ResponseCode) -> Self
Trait Implementations§
source§impl Debug for PublishingError
impl Debug for PublishingError
source§impl Decoder for PublishingError
impl Decoder for PublishingError
source§impl Encoder for PublishingError
impl Encoder for PublishingError
source§impl PartialEq for PublishingError
impl PartialEq for PublishingError
source§fn eq(&self, other: &PublishingError) -> bool
fn eq(&self, other: &PublishingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PublishingError
impl StructuralEq for PublishingError
impl StructuralPartialEq for PublishingError
Auto Trait Implementations§
impl RefUnwindSafe for PublishingError
impl Send for PublishingError
impl Sync for PublishingError
impl Unpin for PublishingError
impl UnwindSafe for PublishingError
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