pub struct Version { /* private fields */ }Expand description
Response parameters.
Implementations§
Source§impl Response
impl Response
Sourcepub const fn protocol_version(&self) -> u8
pub const fn protocol_version(&self) -> u8
The EZSP version the NCP is using.
Sourcepub const fn stack_type(&self) -> u8
pub const fn stack_type(&self) -> u8
The type of stack running on the NCP (2).
Sourcepub const fn stack_version(&self) -> StackVersion
pub const fn stack_version(&self) -> StackVersion
The version number of the stack.
Trait Implementations§
impl Eq for Response
Source§impl FromLeStream for Response
impl FromLeStream for Response
Source§fn from_le_stream<__LeStreamBytesIterator>(
bytes: __LeStreamBytesIterator,
) -> Option<Self>
fn from_le_stream<__LeStreamBytesIterator>( bytes: __LeStreamBytesIterator, ) -> Option<Self>
Parses a value from the front of a little-endian byte stream. Read more
impl StructuralPartialEq for Response
Source§impl ToLeStream for Response
impl ToLeStream for Response
Source§type Iter = Chain<Chain<<u8 as ToLeStream>::Iter, <u8 as ToLeStream>::Iter>, <u16 as ToLeStream>::Iter>
type Iter = Chain<Chain<<u8 as ToLeStream>::Iter, <u8 as ToLeStream>::Iter>, <u16 as ToLeStream>::Iter>
Iterator returned by
to_le_stream.Source§fn to_le_stream(self) -> <Self as ToLeStream>::Iter
fn to_le_stream(self) -> <Self as ToLeStream>::Iter
Returns an iterator over the little-endian byte representation. Read more
Source§impl TryFrom<Parameters> for Response
impl TryFrom<Parameters> for Response
Source§type Error = Parameters
type Error = Parameters
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more