pub struct RawZcl {
pub endpoint: u8,
pub cluster: u16,
pub frame: Vec<u8>,
pub profile: Option<u16>,
pub source_endpoint: u8,
pub response: bool,
pub timeout: Option<Duration>,
}Expand description
A ZCL frame for Host::zcl_raw.
Fields§
§endpoint: u8The device’s endpoint.
cluster: u16Cluster.
frame: Vec<u8>The ZCL frame (header and payload); its sequence number is replaced.
profile: Option<u16>Application profile; the endpoint’s own when None.
source_endpoint: u8The host’s endpoint to send from.
response: boolWait for the device’s reply.
timeout: Option<Duration>How long to wait; the host’s request timeout when None.
Trait Implementations§
impl Eq for RawZcl
impl StructuralPartialEq for RawZcl
Auto Trait Implementations§
impl Freeze for RawZcl
impl RefUnwindSafe for RawZcl
impl Send for RawZcl
impl Sync for RawZcl
impl Unpin for RawZcl
impl UnsafeUnpin for RawZcl
impl UnwindSafe for RawZcl
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