#[repr(i32)]pub enum ServerEngine {
Unspecified = 0,
Temporal = 1,
Cadence = 2,
Zd = 3,
}Expand description
Identifies the engine behind a Dex Server. Clients use it only to adapt behavior that differs between engines.
Variants§
Unspecified = 0
The Server does not report its engine. Servers released before this field existed are the Go Server on Temporal or Cadence.
Temporal = 1
Deprecated: The Go Server running on Temporal. Dex no longer reports this engine.
Cadence = 2
Deprecated: The Go Server running on Cadence. Dex no longer reports this engine.
Zd = 3
server-zd: the zero-dependency Server that keeps all state in object storage.
Implementations§
Source§impl ServerEngine
impl ServerEngine
Source§impl ServerEngine
impl ServerEngine
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 ServerEngine
impl Clone for ServerEngine
impl Copy for ServerEngine
Source§impl Debug for ServerEngine
impl Debug for ServerEngine
Source§impl Default for ServerEngine
impl Default for ServerEngine
Source§fn default() -> ServerEngine
fn default() -> ServerEngine
impl Eq for ServerEngine
Source§impl From<ServerEngine> for i32
impl From<ServerEngine> for i32
Source§fn from(value: ServerEngine) -> i32
fn from(value: ServerEngine) -> i32
Source§impl Hash for ServerEngine
impl Hash for ServerEngine
Source§impl Ord for ServerEngine
impl Ord for ServerEngine
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ServerEngine
impl PartialEq for ServerEngine
Source§impl PartialOrd for ServerEngine
impl PartialOrd for ServerEngine
impl StructuralPartialEq for ServerEngine
Source§impl TryFrom<i32> for ServerEngine
impl TryFrom<i32> for ServerEngine
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<ServerEngine, UnknownEnumValue>
fn try_from(value: i32) -> Result<ServerEngine, UnknownEnumValue>
Auto Trait Implementations§
impl Freeze for ServerEngine
impl RefUnwindSafe for ServerEngine
impl Send for ServerEngine
impl Sync for ServerEngine
impl Unpin for ServerEngine
impl UnsafeUnpin for ServerEngine
impl UnwindSafe for ServerEngine
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
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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