Enum google_api_proto::google::cloud::stream::logging::v1::SessionEventType
source · #[repr(i32)]pub enum SessionEventType {
Show 22 variants
Unspecified = 0,
SessionEventServerStreamerShuttingDown = 1,
SessionEventServerStreamerReady = 2,
SessionEventServerStreamerBinaryStarted = 3,
SessionEventServerStreamerReadPodImageNames = 4,
SessionEventServerStreamerConnectedToGame = 5,
SessionEventServerStreamerConnectedToClient = 6,
SessionEventServerStreamerDisconnectedFromClient = 7,
SessionEventServerStreamerReceivedCreateSessionRequest = 8,
SessionEventServerStreamerGameMessageStreamClosed = 9,
SessionEventServerStreamerGameFrameStreamClosed = 10,
SessionEventServerStreamerGameMessageStreamError = 11,
SessionEventServerStreamerGameAudioStreamError = 12,
SessionEventServerStreamerGameAudioStreamClosed = 13,
SessionEventServerStreamerGameFrameStreamError = 14,
SessionEventServerGameDisconnectingAfterPausedTooLong = 15,
SessionEventServerStreamerReceivedExperimentConfiguration = 16,
SessionEventServerGameConnectedToLoggingService = 17,
SessionEventServerStreamerDeterminedSessionOptions = 18,
SessionEventServerStreamerKilledInMiddleOfSession = 19,
SessionEventServerGameUpdatedFramePipeline = 20,
SessionEventServerError = 21,
}
Expand description
SessionEventType is the enum value for the state of session.
Variants§
Unspecified = 0
Unspecified session event type.
SessionEventServerStreamerShuttingDown = 1
Session in streamer shutting down state.
SessionEventServerStreamerReady = 2
Session in streamer ready state.
SessionEventServerStreamerBinaryStarted = 3
Session in streamer binary started state.
SessionEventServerStreamerReadPodImageNames = 4
Session in streamer read pod image names state.
SessionEventServerStreamerConnectedToGame = 5
Session in streamer connected to game state.
SessionEventServerStreamerConnectedToClient = 6
Session in streamer connected to client state.
SessionEventServerStreamerDisconnectedFromClient = 7
Session in streamer disconnected from client state.
SessionEventServerStreamerReceivedCreateSessionRequest = 8
Session in streamer received create session request state.
SessionEventServerStreamerGameMessageStreamClosed = 9
Session in streamer game message to stream closed state.
SessionEventServerStreamerGameFrameStreamClosed = 10
Session in streamer game frame stream closed state.
SessionEventServerStreamerGameMessageStreamError = 11
Session in streamer game message stream error state.
SessionEventServerStreamerGameAudioStreamError = 12
Session in streamer game audio stream error state.
SessionEventServerStreamerGameAudioStreamClosed = 13
Session in streamer game audio stream closed state.
SessionEventServerStreamerGameFrameStreamError = 14
Session in streamer game frame stream error state.
SessionEventServerGameDisconnectingAfterPausedTooLong = 15
Session in game disconnecting after paused too long state.
SessionEventServerStreamerReceivedExperimentConfiguration = 16
Session in streamer received experiment configuration state.
SessionEventServerGameConnectedToLoggingService = 17
Session in game connected to logging service state.
SessionEventServerStreamerDeterminedSessionOptions = 18
Session in streamer determined session options state.
SessionEventServerStreamerKilledInMiddleOfSession = 19
Session in streamer killed in middle of session state.
SessionEventServerGameUpdatedFramePipeline = 20
Session in game updated frame pipeline state.
SessionEventServerError = 21
Session in server error state.
Implementations§
source§impl SessionEventType
impl SessionEventType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for SessionEventType
impl Clone for SessionEventType
source§fn clone(&self) -> SessionEventType
fn clone(&self) -> SessionEventType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionEventType
impl Debug for SessionEventType
source§impl Default for SessionEventType
impl Default for SessionEventType
source§fn default() -> SessionEventType
fn default() -> SessionEventType
source§impl From<SessionEventType> for i32
impl From<SessionEventType> for i32
source§fn from(value: SessionEventType) -> i32
fn from(value: SessionEventType) -> i32
source§impl Hash for SessionEventType
impl Hash for SessionEventType
source§impl Ord for SessionEventType
impl Ord for SessionEventType
source§fn cmp(&self, other: &SessionEventType) -> Ordering
fn cmp(&self, other: &SessionEventType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for SessionEventType
impl PartialEq for SessionEventType
source§fn eq(&self, other: &SessionEventType) -> bool
fn eq(&self, other: &SessionEventType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SessionEventType
impl PartialOrd for SessionEventType
source§fn partial_cmp(&self, other: &SessionEventType) -> Option<Ordering>
fn partial_cmp(&self, other: &SessionEventType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for SessionEventType
impl TryFrom<i32> for SessionEventType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<SessionEventType, DecodeError>
fn try_from(value: i32) -> Result<SessionEventType, DecodeError>
impl Copy for SessionEventType
impl Eq for SessionEventType
impl StructuralPartialEq for SessionEventType
Auto Trait Implementations§
impl Freeze for SessionEventType
impl RefUnwindSafe for SessionEventType
impl Send for SessionEventType
impl Sync for SessionEventType
impl Unpin for SessionEventType
impl UnwindSafe for SessionEventType
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
§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request