pub struct FetchError {
pub id: u64,
pub error_code: u64,
pub reason_phrase: ReasonPhrase,
}Expand description
Sent by the subscriber to reject an Announce.
Fields§
§id: u64§error_code: u64§reason_phrase: ReasonPhraseTrait Implementations§
Source§impl Clone for FetchError
impl Clone for FetchError
Source§fn clone(&self) -> FetchError
fn clone(&self) -> FetchError
Returns a duplicate 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 FetchError
impl Debug for FetchError
Source§impl Decode for FetchError
impl Decode for FetchError
Source§impl Encode for FetchError
impl Encode for FetchError
Source§impl From<FetchError> for Message
impl From<FetchError> for Message
Source§fn from(m: FetchError) -> Self
fn from(m: FetchError) -> Self
Converts to this type from the input type.
Source§impl From<FetchError> for Publisher
impl From<FetchError> for Publisher
Source§fn from(msg: FetchError) -> Self
fn from(msg: FetchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FetchError
impl RefUnwindSafe for FetchError
impl Send for FetchError
impl Sync for FetchError
impl Unpin for FetchError
impl UnsafeUnpin for FetchError
impl UnwindSafe for FetchError
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