pub struct SynchronousConnectionChanged { /* private fields */ }Implementations§
Source§impl SynchronousConnectionChanged
impl SynchronousConnectionChanged
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_connection_handle(&self) -> u16
pub fn get_event_code(&self) -> EventCode
pub fn get_retransmission_window_slots(&self) -> u8
pub fn get_rx_packet_length(&self) -> u16
pub fn get_status(&self) -> ErrorCode
pub fn get_transmission_interval_slots(&self) -> u8
pub fn get_tx_packet_length(&self) -> u16
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for SynchronousConnectionChanged
impl Clone for SynchronousConnectionChanged
Source§fn clone(&self) -> SynchronousConnectionChanged
fn clone(&self) -> SynchronousConnectionChanged
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SynchronousConnectionChanged
impl Debug for SynchronousConnectionChanged
Source§impl From<SynchronousConnectionChanged> for Bytes
impl From<SynchronousConnectionChanged> for Bytes
Source§fn from(packet: SynchronousConnectionChanged) -> Self
fn from(packet: SynchronousConnectionChanged) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousConnectionChanged> for Event
impl From<SynchronousConnectionChanged> for Event
Source§fn from(packet: SynchronousConnectionChanged) -> Event
fn from(packet: SynchronousConnectionChanged) -> Event
Converts to this type from the input type.
Source§impl From<SynchronousConnectionChanged> for Vec<u8>
impl From<SynchronousConnectionChanged> for Vec<u8>
Source§fn from(packet: SynchronousConnectionChanged) -> Self
fn from(packet: SynchronousConnectionChanged) -> Self
Converts to this type from the input type.
Source§impl From<SynchronousConnectionChangedBuilder> for SynchronousConnectionChanged
impl From<SynchronousConnectionChangedBuilder> for SynchronousConnectionChanged
Source§fn from(
builder: SynchronousConnectionChangedBuilder,
) -> SynchronousConnectionChanged
fn from( builder: SynchronousConnectionChangedBuilder, ) -> SynchronousConnectionChanged
Converts to this type from the input type.
Source§impl PartialEq for SynchronousConnectionChanged
impl PartialEq for SynchronousConnectionChanged
Source§fn eq(&self, other: &SynchronousConnectionChanged) -> bool
fn eq(&self, other: &SynchronousConnectionChanged) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<Event> for SynchronousConnectionChanged
impl TryFrom<Event> for SynchronousConnectionChanged
impl Eq for SynchronousConnectionChanged
impl StructuralPartialEq for SynchronousConnectionChanged
Auto Trait Implementations§
impl !Freeze for SynchronousConnectionChanged
impl RefUnwindSafe for SynchronousConnectionChanged
impl Send for SynchronousConnectionChanged
impl Sync for SynchronousConnectionChanged
impl Unpin for SynchronousConnectionChanged
impl UnwindSafe for SynchronousConnectionChanged
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