pub struct AnnounceError {
pub namespace: String,
pub code: u64,
pub reason: String,
}
Expand description
Sent by the subscriber to reject an Announce.
Fields§
§namespace: String
§code: u64
§reason: String
Trait Implementations§
Source§impl Clone for AnnounceError
impl Clone for AnnounceError
Source§fn clone(&self) -> AnnounceError
fn clone(&self) -> AnnounceError
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 AnnounceError
impl Debug for AnnounceError
Source§impl Decode for AnnounceError
impl Decode for AnnounceError
Source§impl Encode for AnnounceError
impl Encode for AnnounceError
Source§impl From<AnnounceError> for Message
impl From<AnnounceError> for Message
Source§fn from(m: AnnounceError) -> Self
fn from(m: AnnounceError) -> Self
Converts to this type from the input type.
Source§impl From<AnnounceError> for Subscriber
impl From<AnnounceError> for Subscriber
Source§fn from(msg: AnnounceError) -> Self
fn from(msg: AnnounceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnnounceError
impl RefUnwindSafe for AnnounceError
impl Send for AnnounceError
impl Sync for AnnounceError
impl Unpin for AnnounceError
impl UnwindSafe for AnnounceError
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