pub struct DeviceBuffers<'a> {
pub publish: &'a mut VecView<u8>,
pub subscribe: &'a mut VecView<u8>,
pub discovery: &'a mut VecView<u8>,
pub availability_topic: &'a mut StringView,
pub discovery_topic: &'a mut StringView,
pub state_topic: &'a mut StringView,
pub command_topic: &'a mut StringView,
pub attributes_topic: &'a mut StringView,
}Fields§
§publish: &'a mut VecView<u8>§subscribe: &'a mut VecView<u8>§discovery: &'a mut VecView<u8>§availability_topic: &'a mut StringView§discovery_topic: &'a mut StringView§state_topic: &'a mut StringView§command_topic: &'a mut StringView§attributes_topic: &'a mut StringViewImplementations§
Source§impl<'a> DeviceBuffers<'a>
impl<'a> DeviceBuffers<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceBuffers<'a>
impl<'a> RefUnwindSafe for DeviceBuffers<'a>
impl<'a> Send for DeviceBuffers<'a>
impl<'a> Sync for DeviceBuffers<'a>
impl<'a> Unpin for DeviceBuffers<'a>
impl<'a> !UnwindSafe for DeviceBuffers<'a>
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