#[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 PartialEq for SimpleProgramCreationError
 
impl PartialEq for SimpleProgramCreationError
source§fn eq(&self, other: &SimpleProgramCreationError) -> bool
 
fn eq(&self, other: &SimpleProgramCreationError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SimpleProgramCreationError
 
impl PartialOrd for SimpleProgramCreationError
source§fn partial_cmp(&self, other: &SimpleProgramCreationError) -> Option<Ordering>
 
fn partial_cmp(&self, other: &SimpleProgramCreationError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Copy for SimpleProgramCreationError
impl Eq for SimpleProgramCreationError
impl StructuralEq for SimpleProgramCreationError
impl StructuralPartialEq for SimpleProgramCreationError
Auto Trait Implementations§
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