[−][src]Enum ntex_mqtt::error::ProtocolError
Protocol level errors
Variants
Decode(DecodeError)
Mqtt parse error
Encode(EncodeError)
Mqtt encode error
Unexpected packet
Packet id of publish ack packet does not match of send publish packet
Topic alias is greater than max topic alias
Number of in-flight messages exceeded
Unknown topic alias
Keep alive timeout
Io(Error)
Unexpected io error
Trait Implementations
impl Debug for ProtocolError
[src]
impl Display for ProtocolError
[src]
impl From<(u8, &'static str)> for ProtocolError
[src]
impl From<DecodeError> for ProtocolError
[src]
pub fn from(original: DecodeError) -> ProtocolError
[src]
impl From<Either<DecodeError, Error>> for ProtocolError
[src]
pub fn from(err: Either<DecodeError, Error>) -> Self
[src]
impl From<EncodeError> for ProtocolError
[src]
pub fn from(original: EncodeError) -> ProtocolError
[src]
impl From<Error> for ProtocolError
[src]
pub fn from(original: Error) -> ProtocolError
[src]
impl<E> From<ProtocolError> for MqttError<E>
[src]
pub fn from(err: ProtocolError) -> Self
[src]
impl From<ProtocolError> for ClientError
[src]
pub fn from(original: ProtocolError) -> ClientError
[src]
impl From<ProtocolError> for ClientError
[src]
pub fn from(original: ProtocolError) -> ClientError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProtocolError
[src]
impl Send for ProtocolError
[src]
impl Sync for ProtocolError
[src]
impl Unpin for ProtocolError
[src]
impl !UnwindSafe for ProtocolError
[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> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,