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
sourceimpl PublishingError
impl PublishingError
pub fn new(publishing_id: u64, error_code: ResponseCode) -> Self
Trait Implementations
sourceimpl Debug for PublishingError
impl Debug for PublishingError
sourceimpl Decoder for PublishingError
impl Decoder for PublishingError
sourceimpl Encoder for PublishingError
impl Encoder for PublishingError
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
fn encoded_size(&self) -> u32
sourceimpl PartialEq<PublishingError> for PublishingError
impl PartialEq<PublishingError> for PublishingError
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PublishingError) -> bool
fn ne(&self, other: &PublishingError) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more