pub struct PublishRejection { /* private fields */ }Expand description
A single publish the server rejected, reported verbatim from the wire.
Carries the raw Frame::PublishError fields with no mapping onto the
SDK error taxonomy (ruling R4 «RAW-REASON-NO-MAPPING»): today the server
sets a blanket reason_code of 0xFFFF for every publish failure, so a
schema mismatch is not wire-distinguishable from any other rejection —
fabricating a typed error from the message string would be a lie wearing a
type. Only the message text differs per failure.
Implementations§
Trait Implementations§
Source§impl Clone for PublishRejection
impl Clone for PublishRejection
Source§fn clone(&self) -> PublishRejection
fn clone(&self) -> PublishRejection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublishRejection
impl Debug for PublishRejection
impl Eq for PublishRejection
Source§impl PartialEq for PublishRejection
impl PartialEq for PublishRejection
impl StructuralPartialEq for PublishRejection
Auto Trait Implementations§
impl Freeze for PublishRejection
impl RefUnwindSafe for PublishRejection
impl Send for PublishRejection
impl Sync for PublishRejection
impl Unpin for PublishRejection
impl UnsafeUnpin for PublishRejection
impl UnwindSafe for PublishRejection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.