#[repr(i32)]pub enum OperatorStatus {
Experimental = 0,
Stable = 1,
}Expand description
Operator/function status.
Variants§
Implementations§
Source§impl OperatorStatus
impl OperatorStatus
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<OperatorStatus>
pub fn from_str_name(value: &str) -> Option<OperatorStatus>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for OperatorStatus
impl Clone for OperatorStatus
Source§fn clone(&self) -> OperatorStatus
fn clone(&self) -> OperatorStatus
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 OperatorStatus
impl Debug for OperatorStatus
Source§impl Default for OperatorStatus
impl Default for OperatorStatus
Source§fn default() -> OperatorStatus
fn default() -> OperatorStatus
Returns the “default value” for a type. Read more
Source§impl Hash for OperatorStatus
impl Hash for OperatorStatus
Source§impl Ord for OperatorStatus
impl Ord for OperatorStatus
Source§fn cmp(&self, other: &OperatorStatus) -> Ordering
fn cmp(&self, other: &OperatorStatus) -> 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 OperatorStatus
impl PartialEq for OperatorStatus
Source§impl PartialOrd for OperatorStatus
impl PartialOrd for OperatorStatus
Source§impl TryFrom<i32> for OperatorStatus
impl TryFrom<i32> for OperatorStatus
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<OperatorStatus, DecodeError>
fn try_from(value: i32) -> Result<OperatorStatus, DecodeError>
Performs the conversion.
impl Copy for OperatorStatus
impl Eq for OperatorStatus
impl StructuralPartialEq for OperatorStatus
Auto Trait Implementations§
impl Freeze for OperatorStatus
impl RefUnwindSafe for OperatorStatus
impl Send for OperatorStatus
impl Sync for OperatorStatus
impl Unpin for OperatorStatus
impl UnsafeUnpin for OperatorStatus
impl UnwindSafe for OperatorStatus
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