#[repr(u8)]pub enum SimpleProgramCreationError {
CodeNotExists = 0,
Unsupported = 255,
}
Expand description
Simplified error occurred during program creation.
Variants§
CodeNotExists = 0
Given code id for program creation doesn’t exist.
Unsupported = 255
Unsupported reason of program creation error. Variant exists for backward compatibility.
Trait Implementations§
Source§impl Clone for SimpleProgramCreationError
impl Clone for SimpleProgramCreationError
Source§fn clone(&self) -> SimpleProgramCreationError
fn clone(&self) -> SimpleProgramCreationError
Returns a copy 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 SimpleProgramCreationError
impl Debug for SimpleProgramCreationError
Source§impl Default for SimpleProgramCreationError
impl Default for SimpleProgramCreationError
Source§fn default() -> SimpleProgramCreationError
fn default() -> SimpleProgramCreationError
Returns the “default value” for a type. Read more
Source§impl Display for SimpleProgramCreationError
impl Display for SimpleProgramCreationError
Source§impl From<SimpleProgramCreationError> for ErrorReplyReason
impl From<SimpleProgramCreationError> for ErrorReplyReason
Source§fn from(original: SimpleProgramCreationError) -> ErrorReplyReason
fn from(original: SimpleProgramCreationError) -> ErrorReplyReason
Converts to this type from the input type.
Source§impl Hash for SimpleProgramCreationError
impl Hash for SimpleProgramCreationError
Source§impl Ord for SimpleProgramCreationError
impl Ord for SimpleProgramCreationError
Source§fn cmp(&self, other: &SimpleProgramCreationError) -> Ordering
fn cmp(&self, other: &SimpleProgramCreationError) -> 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 PartialOrd for SimpleProgramCreationError
impl PartialOrd for SimpleProgramCreationError
impl Copy for SimpleProgramCreationError
impl Eq for SimpleProgramCreationError
impl StructuralPartialEq for SimpleProgramCreationError
Auto Trait Implementations§
impl Freeze for SimpleProgramCreationError
impl RefUnwindSafe for SimpleProgramCreationError
impl Send for SimpleProgramCreationError
impl Sync for SimpleProgramCreationError
impl Unpin for SimpleProgramCreationError
impl UnwindSafe for SimpleProgramCreationError
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