Struct MqttBytesBuf
pub struct MqttBytesBuf(Box<[u8]>);Expand description
Owned binary data that satisfies the MQTT v5 length limit.
This is the owned counterpart to MqttBytes.
Tuple Fields§
§0: Box<[u8]>Implementations§
Methods from Deref<Target = MqttBytes>§
Trait Implementations§
Source§impl AsRef<[u8]> for MqttBytesBuf
impl AsRef<[u8]> for MqttBytesBuf
Source§impl AsRef<MqttBytes> for MqttBytesBuf
impl AsRef<MqttBytes> for MqttBytesBuf
Source§impl Borrow<MqttBytes> for MqttBytesBuf
impl Borrow<MqttBytes> for MqttBytesBuf
Source§impl Clone for MqttBytesBuf
impl Clone for MqttBytesBuf
Source§fn clone(&self) -> MqttBytesBuf
fn clone(&self) -> MqttBytesBuf
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 MqttBytesBuf
impl Debug for MqttBytesBuf
Source§impl Deref for MqttBytesBuf
impl Deref for MqttBytesBuf
Source§impl Hash for MqttBytesBuf
impl Hash for MqttBytesBuf
Source§impl PartialEq for MqttBytesBuf
impl PartialEq for MqttBytesBuf
Source§impl TryFrom<&[u8]> for MqttBytesBuf
impl TryFrom<&[u8]> for MqttBytesBuf
impl Eq for MqttBytesBuf
impl StructuralPartialEq for MqttBytesBuf
Auto Trait Implementations§
impl Freeze for MqttBytesBuf
impl RefUnwindSafe for MqttBytesBuf
impl Send for MqttBytesBuf
impl Sync for MqttBytesBuf
impl Unpin for MqttBytesBuf
impl UnwindSafe for MqttBytesBuf
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