pub struct NcpInfo {
pub protocol: ProtocolVersion,
pub stack_type: u8,
pub stack_version_packed: u16,
pub stack_version: StackVersion,
pub reset_code: u8,
}Expand description
What the NCP said about itself during start-up.
Fields§
§protocol: ProtocolVersionNegotiated protocol version.
stack_type: u8Stack type (2 for a Zigbee mesh stack).
stack_version_packed: u16The version command’s packed stack version (one nibble per part).
stack_version: StackVersionThe full EmberZNet version from VERSION_INFO.
reset_code: u8Why the NCP last reset (the RSTACK code).
Trait Implementations§
impl Eq for NcpInfo
impl StructuralPartialEq for NcpInfo
Auto Trait Implementations§
impl Freeze for NcpInfo
impl RefUnwindSafe for NcpInfo
impl Send for NcpInfo
impl Sync for NcpInfo
impl Unpin for NcpInfo
impl UnsafeUnpin for NcpInfo
impl UnwindSafe for NcpInfo
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