pub enum SpecVersion {
V10,
V11,
V20,
}
Expand description
This denotes the version of the UPnP Device Architecture (UDA) specification to use for a given interaction.
This allows the client to constrain the messaging to only the capabilities described by a specific version.
Variants§
V10
Denotes messages conforming to UPnP version 1.0
V11
Denotes messages conforming to UPnP version 1.1
V20
Denotes messages conforming to UPnP version 2.0
Trait Implementations§
Source§impl Clone for SpecVersion
impl Clone for SpecVersion
Source§fn clone(&self) -> SpecVersion
fn clone(&self) -> SpecVersion
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 SpecVersion
impl Debug for SpecVersion
Source§impl Default for SpecVersion
impl Default for SpecVersion
Source§impl Display for SpecVersion
impl Display for SpecVersion
Source§impl FromStr for SpecVersion
impl FromStr for SpecVersion
Source§impl Hash for SpecVersion
impl Hash for SpecVersion
Source§impl Ord for SpecVersion
impl Ord for SpecVersion
Source§fn cmp(&self, other: &SpecVersion) -> Ordering
fn cmp(&self, other: &SpecVersion) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SpecVersion
impl PartialEq for SpecVersion
Source§impl PartialOrd for SpecVersion
impl PartialOrd for SpecVersion
Source§impl<T: Write> Writable<T> for SpecVersion
impl<T: Write> Writable<T> for SpecVersion
impl Copy for SpecVersion
impl Eq for SpecVersion
impl StructuralPartialEq for SpecVersion
Auto Trait Implementations§
impl Freeze for SpecVersion
impl RefUnwindSafe for SpecVersion
impl Send for SpecVersion
impl Sync for SpecVersion
impl Unpin for SpecVersion
impl UnwindSafe for SpecVersion
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.