#[repr(i32)]pub enum EVoiceCallState {
None = 0,
ScheduledInitiate = 1,
RequestedMicAccess = 2,
LocalMicOnly = 3,
CreatePeerConnection = 4,
InitatedWebRTCSession = 5,
UpdatingWebRTCSession = 6,
WebRTCConnectedWaitingOnIceConnected = 7,
RequestedPermission = 8,
NotifyingVoiceChatOfWebRTCSession = 9,
Connected = 10,
}Expand description
The EVoiceCallState enumeration.
Source: lang/steammsg.steamd.
Variants§
None = 0
ScheduledInitiate = 1
RequestedMicAccess = 2
LocalMicOnly = 3
CreatePeerConnection = 4
InitatedWebRTCSession = 5
UpdatingWebRTCSession = 6
WebRTCConnectedWaitingOnIceConnected = 7
RequestedPermission = 8
NotifyingVoiceChatOfWebRTCSession = 9
Connected = 10
Implementations§
Source§impl EVoiceCallState
impl EVoiceCallState
Sourcepub const ALL: &'static [EVoiceCallState]
pub const ALL: &'static [EVoiceCallState]
Every variant of EVoiceCallState.
Sourcepub fn from_value(value: i32) -> Option<Self>
pub fn from_value(value: i32) -> Option<Self>
Builds a variant from its numeric value.
When several variants share a value, the first declared one is returned.
Trait Implementations§
Source§impl Clone for EVoiceCallState
impl Clone for EVoiceCallState
impl Copy for EVoiceCallState
Source§impl Debug for EVoiceCallState
impl Debug for EVoiceCallState
impl Eq for EVoiceCallState
Source§impl From<EVoiceCallState> for i32
impl From<EVoiceCallState> for i32
Source§fn from(value: EVoiceCallState) -> i32
fn from(value: EVoiceCallState) -> i32
Converts to this type from the input type.
Source§impl Hash for EVoiceCallState
impl Hash for EVoiceCallState
Source§impl Ord for EVoiceCallState
impl Ord for EVoiceCallState
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 EVoiceCallState
impl PartialEq for EVoiceCallState
Source§impl PartialOrd for EVoiceCallState
impl PartialOrd for EVoiceCallState
impl StructuralPartialEq for EVoiceCallState
Source§impl TryFrom<i32> for EVoiceCallState
impl TryFrom<i32> for EVoiceCallState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§impl TryFrom<u32> for EVoiceCallState
impl TryFrom<u32> for EVoiceCallState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for EVoiceCallState
impl RefUnwindSafe for EVoiceCallState
impl Send for EVoiceCallState
impl Sync for EVoiceCallState
impl Unpin for EVoiceCallState
impl UnsafeUnpin for EVoiceCallState
impl UnwindSafe for EVoiceCallState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.