pub enum Request {
Version,
ReadParameter {
param: u8,
extra: Vec<u8>,
},
WriteParameter {
param: u8,
value: Vec<u8>,
},
DeviceState,
ChangeNetworkState {
state: u8,
},
ApsDataRequest(Box<ApsRequest>),
ApsDataConfirm,
ApsDataIndication,
}Expand description
A request from the host.
Variants§
Version
VERSION.
ReadParameter
READ_PARAMETER, with a qualifier for keyed parameters (the key
index, or the IEEE address of a link key).
WriteParameter
WRITE_PARAMETER.
DeviceState
DEVICE_STATE.
ChangeNetworkState
CHANGE_NETWORK_STATE.
ApsDataRequest(Box<ApsRequest>)
APS_DATA_REQUEST.
ApsDataConfirm
APS_DATA_CONFIRM: read the next confirm.
ApsDataIndication
APS_DATA_INDICATION: read the next received frame.
Implementations§
Trait Implementations§
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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