pub struct OtpVersion { /* private fields */ }Implementations§
Source§impl OtpVersion
impl OtpVersion
pub fn parse(value: &str) -> Result<Self, ReleaseVersionError>
pub fn major(&self) -> ErlangMajor
pub fn line(&self) -> OtpLineVersion
Trait Implementations§
Source§impl Clone for OtpVersion
impl Clone for OtpVersion
Source§impl Debug for OtpVersion
impl Debug for OtpVersion
Source§impl<'de> Deserialize<'de> for OtpVersion
impl<'de> Deserialize<'de> for OtpVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OtpVersion
impl Display for OtpVersion
impl Eq for OtpVersion
Source§impl From<OtpVersion> for String
impl From<OtpVersion> for String
Source§fn from(version: OtpVersion) -> Self
fn from(version: OtpVersion) -> Self
Converts to this type from the input type.
Source§impl FromStr for OtpVersion
impl FromStr for OtpVersion
Source§impl Hash for OtpVersion
impl Hash for OtpVersion
Source§impl Ord for OtpVersion
impl Ord for OtpVersion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OtpVersion
impl PartialEq for OtpVersion
Source§impl PartialOrd for OtpVersion
impl PartialOrd for OtpVersion
Source§impl Serialize for OtpVersion
impl Serialize for OtpVersion
impl StructuralPartialEq for OtpVersion
Auto Trait Implementations§
impl Forget for OtpVersion
impl Freeze for OtpVersion
impl Move for OtpVersion
impl RefUnwindSafe for OtpVersion
impl Send for OtpVersion
impl Sync for OtpVersion
impl Unpin for OtpVersion
impl UnsafeUnpin for OtpVersion
impl UnwindSafe for OtpVersion
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