pub struct AdapterInfo {
pub kind: &'static str,
pub firmware: String,
pub protocol: u8,
pub reports_key_exchange: bool,
}Expand description
The NCP.
Fields§
§kind: &'static strFamily, such as ezsp.
firmware: StringFirmware version.
protocol: u8Serial protocol version.
reports_key_exchange: boolThe NCP reports each device’s link key exchange
(AdapterEvent::KeyExchange), so the host can remove devices
that never do one. Without it the NCP enforces
JoinPolicy::allow_legacy itself, or cannot.
Trait Implementations§
Source§impl Clone for AdapterInfo
impl Clone for AdapterInfo
Source§impl Debug for AdapterInfo
impl Debug for AdapterInfo
impl Eq for AdapterInfo
Source§impl PartialEq for AdapterInfo
impl PartialEq for AdapterInfo
impl StructuralPartialEq for AdapterInfo
Auto Trait Implementations§
impl Freeze for AdapterInfo
impl RefUnwindSafe for AdapterInfo
impl Send for AdapterInfo
impl Sync for AdapterInfo
impl Unpin for AdapterInfo
impl UnsafeUnpin for AdapterInfo
impl UnwindSafe for AdapterInfo
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