[−][src]Struct mqtt::control::variable_header::TopicNameHeader
Topic name wrapper
Implementations
impl TopicNameHeader[src]
pub fn new(topic_name: String) -> Result<TopicNameHeader, VariableHeaderError>[src]
Trait Implementations
impl Clone for TopicNameHeader[src]
pub fn clone(&self) -> TopicNameHeader[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TopicNameHeader[src]
impl Decodable for TopicNameHeader[src]
type Err = VariableHeaderError
type Cond = ()
pub fn decode_with<R: Read>(
reader: &mut R,
_rest: Option<()>
) -> Result<TopicNameHeader, VariableHeaderError>[src]
reader: &mut R,
_rest: Option<()>
) -> Result<TopicNameHeader, VariableHeaderError>
pub fn decode<R: Read>(reader: &mut R) -> Result<Self, Self::Err>[src]
impl Encodable for TopicNameHeader[src]
type Err = VariableHeaderError
pub fn encode<W: Write>(
&self,
writer: &mut W
) -> Result<(), VariableHeaderError>[src]
&self,
writer: &mut W
) -> Result<(), VariableHeaderError>
pub fn encoded_length(&self) -> u32[src]
impl Eq for TopicNameHeader[src]
impl Into<TopicName> for TopicNameHeader[src]
impl PartialEq<TopicNameHeader> for TopicNameHeader[src]
pub fn eq(&self, other: &TopicNameHeader) -> bool[src]
pub fn ne(&self, other: &TopicNameHeader) -> bool[src]
impl StructuralEq for TopicNameHeader[src]
impl StructuralPartialEq for TopicNameHeader[src]
Auto Trait Implementations
impl RefUnwindSafe for TopicNameHeader[src]
impl Send for TopicNameHeader[src]
impl Sync for TopicNameHeader[src]
impl Unpin for TopicNameHeader[src]
impl UnwindSafe for TopicNameHeader[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,