#[repr(transparent)]pub struct ProtocolSpeedId(_);
Expand description
Protocol Speed ID
Implementations§
source§impl ProtocolSpeedId
impl ProtocolSpeedId
sourcepub fn protocol_speed_id_value(self) -> u8
pub fn protocol_speed_id_value(self) -> u8
Returns the value of the Protocol Speed ID Value field.
sourcepub fn protocol_speed_id_exponent(self) -> BitRate
pub fn protocol_speed_id_exponent(self) -> BitRate
Returns the value of the Protocol Speed ID Exponent field.
sourcepub fn psi_full_duplex(self) -> bool
pub fn psi_full_duplex(self) -> bool
Returns the PSI Full-duplex bit.
sourcepub fn link_protocol(self) -> LinkProtocol
pub fn link_protocol(self) -> LinkProtocol
Returns the value of the Link Protocol field.
sourcepub fn protocol_speed_id_mantissa(self) -> u16
pub fn protocol_speed_id_mantissa(self) -> u16
Returns the value of the Protocol Speed ID Mantissa field.
Trait Implementations§
source§impl Clone for ProtocolSpeedId
impl Clone for ProtocolSpeedId
source§fn clone(&self) -> ProtocolSpeedId
fn clone(&self) -> ProtocolSpeedId
Returns a copy 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 ProtocolSpeedId
impl Debug for ProtocolSpeedId
impl Copy for ProtocolSpeedId
Auto Trait Implementations§
impl RefUnwindSafe for ProtocolSpeedId
impl Send for ProtocolSpeedId
impl Sync for ProtocolSpeedId
impl Unpin for ProtocolSpeedId
impl UnwindSafe for ProtocolSpeedId
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