pub struct SubscribeError {
pub id: u64,
pub code: u64,
pub reason: String,
pub alias: u64,
}
Expand description
Sent by the publisher to reject a Subscribe.
Fields§
§id: u64
§code: u64
§reason: String
§alias: u64
An optional track alias, only used when error == Retry Track Alias
Trait Implementations§
Source§impl Clone for SubscribeError
impl Clone for SubscribeError
Source§fn clone(&self) -> SubscribeError
fn clone(&self) -> SubscribeError
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 moreSource§impl Debug for SubscribeError
impl Debug for SubscribeError
Source§impl Decode for SubscribeError
impl Decode for SubscribeError
Source§impl Encode for SubscribeError
impl Encode for SubscribeError
Source§impl From<SubscribeError> for Message
impl From<SubscribeError> for Message
Source§fn from(m: SubscribeError) -> Self
fn from(m: SubscribeError) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeError> for Publisher
impl From<SubscribeError> for Publisher
Source§fn from(msg: SubscribeError) -> Self
fn from(msg: SubscribeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SubscribeError
impl RefUnwindSafe for SubscribeError
impl Send for SubscribeError
impl Sync for SubscribeError
impl Unpin for SubscribeError
impl UnwindSafe for SubscribeError
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