pub struct TooLargeToEncode;Expand description
The error returned when types are larger than what is representable according to the specification.
VarByteInt: IfVarByteInt::MAX_ENCODABLEis exceeded, an error of this type is returned.MqttBinary: IfMqttBinary::MAX_LENGTHis exceeded, an error of this type is returned.
Trait Implementations§
Source§impl Debug for TooLargeToEncode
impl Debug for TooLargeToEncode
Source§impl From<TooLargeToEncode> for Error<'_>
impl From<TooLargeToEncode> for Error<'_>
Source§fn from(_: TooLargeToEncode) -> Self
fn from(_: TooLargeToEncode) -> Self
Converts to this type from the input type.
Source§impl From<TooLargeToEncode> for MqttStringError
impl From<TooLargeToEncode> for MqttStringError
Source§fn from(_: TooLargeToEncode) -> Self
fn from(_: TooLargeToEncode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TooLargeToEncode
impl RefUnwindSafe for TooLargeToEncode
impl Send for TooLargeToEncode
impl Sync for TooLargeToEncode
impl Unpin for TooLargeToEncode
impl UnsafeUnpin for TooLargeToEncode
impl UnwindSafe for TooLargeToEncode
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