pub enum PtpVersion {
Ieee1588_2002,
Ieee1588_2008,
Ieee8021As_2011,
Ext(String),
}Expand description
PTP protocol version.
Variants§
Trait Implementations§
Source§impl Clone for PtpVersion
impl Clone for PtpVersion
Source§fn clone(&self) -> PtpVersion
fn clone(&self) -> PtpVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PtpVersion
impl Debug for PtpVersion
Source§impl Display for PtpVersion
impl Display for PtpVersion
impl Eq for PtpVersion
Source§impl FromStr for PtpVersion
impl FromStr for PtpVersion
Source§impl PartialEq for PtpVersion
impl PartialEq for PtpVersion
impl StructuralPartialEq for PtpVersion
Auto Trait Implementations§
impl Freeze for PtpVersion
impl RefUnwindSafe for PtpVersion
impl Send for PtpVersion
impl Sync for PtpVersion
impl Unpin for PtpVersion
impl UnsafeUnpin for PtpVersion
impl UnwindSafe for PtpVersion
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