#[no_mangle]#[repr(u8)]pub enum TopicResponse {
SubSuccess = 0,
SubFailure = 1,
UnsubSuccess = 2,
UnsubFailure = 3,
Unknown = 4,
}
Expand description
Topics response are all possible responses type to a TOPICS_REQUEST
Variants§
Trait Implementations§
Source§impl Clone for TopicResponse
impl Clone for TopicResponse
Source§fn clone(&self) -> TopicResponse
fn clone(&self) -> TopicResponse
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 From<TopicResponse> for u8
This function convert an TopicsResponse to an u8
impl From<TopicResponse> for u8
This function convert an TopicsResponse to an u8
@param value: TopicsResponse, The source to convert
@return u8
Source§fn from(value: TopicResponse) -> Self
fn from(value: TopicResponse) -> Self
Converts to this type from the input type.
Source§impl From<u8> for TopicResponse
This function convert an u8 to a TopicsResponse
impl From<u8> for TopicResponse
This function convert an u8 to a TopicsResponse
@param value: u8, The source to convert
@return TopicsResponse
Source§impl PartialEq for TopicResponse
impl PartialEq for TopicResponse
impl Copy for TopicResponse
impl StructuralPartialEq for TopicResponse
Auto Trait Implementations§
impl Freeze for TopicResponse
impl RefUnwindSafe for TopicResponse
impl Send for TopicResponse
impl Sync for TopicResponse
impl Unpin for TopicResponse
impl UnwindSafe for TopicResponse
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