pub struct ExecAlgorithmId(/* private fields */);Expand description
Represents a valid execution algorithm ID.
Implementations§
Source§impl ExecAlgorithmId
impl ExecAlgorithmId
Sourcepub fn new_checked<T: AsRef<str>>(value: T) -> CorrectnessResult<Self>
pub fn new_checked<T: AsRef<str>>(value: T) -> CorrectnessResult<Self>
Creates a new ExecAlgorithmId instance with correctness checking.
§Errors
Returns an error if value is not a valid string.
§Notes
PyO3 requires a Result type for proper error handling and stacktrace printing in Python.
Trait Implementations§
Source§impl AsRef<str> for ExecAlgorithmId
impl AsRef<str> for ExecAlgorithmId
Source§impl Clone for ExecAlgorithmId
impl Clone for ExecAlgorithmId
Source§fn clone(&self) -> ExecAlgorithmId
fn clone(&self) -> ExecAlgorithmId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExecAlgorithmId
Source§impl Debug for ExecAlgorithmId
impl Debug for ExecAlgorithmId
Source§impl<'de> Deserialize<'de> for ExecAlgorithmId
impl<'de> Deserialize<'de> for ExecAlgorithmId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExecAlgorithmId
impl Display for ExecAlgorithmId
impl Eq for ExecAlgorithmId
Source§impl From<&str> for ExecAlgorithmId
impl From<&str> for ExecAlgorithmId
Source§impl From<String> for ExecAlgorithmId
impl From<String> for ExecAlgorithmId
Source§impl Hash for ExecAlgorithmId
impl Hash for ExecAlgorithmId
Source§impl Ord for ExecAlgorithmId
impl Ord for ExecAlgorithmId
Source§fn cmp(&self, other: &ExecAlgorithmId) -> Ordering
fn cmp(&self, other: &ExecAlgorithmId) -> Ordering
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
Source§impl PartialEq for ExecAlgorithmId
impl PartialEq for ExecAlgorithmId
Source§fn eq(&self, other: &ExecAlgorithmId) -> bool
fn eq(&self, other: &ExecAlgorithmId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExecAlgorithmId
impl PartialOrd for ExecAlgorithmId
Source§impl Serialize for ExecAlgorithmId
impl Serialize for ExecAlgorithmId
impl StructuralPartialEq for ExecAlgorithmId
Auto Trait Implementations§
impl Freeze for ExecAlgorithmId
impl RefUnwindSafe for ExecAlgorithmId
impl Send for ExecAlgorithmId
impl Sync for ExecAlgorithmId
impl Unpin for ExecAlgorithmId
impl UnsafeUnpin for ExecAlgorithmId
impl UnwindSafe for ExecAlgorithmId
Blanket Implementations§
impl<T> Allocation for T
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.