pub struct Block<'a> {
pub counter: u32,
pub data: &'a [u8],
}Expand description
A Block or BlockEOF message (§11.22.6.4, §11.22.6.5).
Fields§
§counter: u32The block counter, ascending and sequential from zero (§11.22.6.1).
data: &'a [u8]The data. “The data field’s length is that of the remainder of the message payload after the Block Counter field, since Matter messages have definite length.”
Implementations§
Trait Implementations§
impl<'a> Copy for Block<'a>
impl<'a> Eq for Block<'a>
impl<'a> StructuralPartialEq for Block<'a>
Auto Trait Implementations§
impl<'a> Forget for Block<'a>
impl<'a> Freeze for Block<'a>
impl<'a> Move for Block<'a>
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnsafeUnpin for Block<'a>
impl<'a> UnwindSafe for Block<'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