Enum solana_program::system_instruction::SystemError [−][src]
pub enum SystemError { AccountAlreadyInUse, ResultWithNegativeLamports, InvalidProgramId, InvalidAccountDataLength, MaxSeedLengthExceeded, AddressWithSeedMismatch, }
Variants
Trait Implementations
impl Clone for SystemError
[src]
impl Clone for SystemError
[src]fn clone(&self) -> SystemError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> DecodeError<T> for SystemError
[src]
impl<T> DecodeError<T> for SystemError
[src]fn type_of() -> &'static str
[src]
fn decode_custom_error_to_enum(custom: u32) -> Option<E> where
E: FromPrimitive,
[src]
E: FromPrimitive,
impl Error for SystemError
[src]
impl Error for SystemError
[src]impl FromPrimitive for SystemError
[src]
impl FromPrimitive for SystemError
[src]fn from_i64(n: i64) -> Option<Self>
[src]
fn from_u64(n: u64) -> Option<Self>
[src]
pub fn from_isize(n: isize) -> Option<Self>
[src]
pub fn from_i8(n: i8) -> Option<Self>
[src]
pub fn from_i16(n: i16) -> Option<Self>
[src]
pub fn from_i32(n: i32) -> Option<Self>
[src]
pub fn from_i128(n: i128) -> Option<Self>
[src]
pub fn from_usize(n: usize) -> Option<Self>
[src]
pub fn from_u8(n: u8) -> Option<Self>
[src]
pub fn from_u16(n: u16) -> Option<Self>
[src]
pub fn from_u32(n: u32) -> Option<Self>
[src]
pub fn from_u128(n: u128) -> Option<Self>
[src]
pub fn from_f32(n: f32) -> Option<Self>
[src]
pub fn from_f64(n: f64) -> Option<Self>
[src]
impl PartialEq<SystemError> for SystemError
[src]
impl PartialEq<SystemError> for SystemError
[src]impl Serialize for SystemError
[src]
impl Serialize for SystemError
[src]impl StructuralPartialEq for SystemError
[src]
impl StructuralPartialEq for SystemError
[src]impl ToPrimitive for SystemError
[src]
impl ToPrimitive for SystemError
[src]fn to_i64(&self) -> Option<i64>
[src]
fn to_u64(&self) -> Option<u64>
[src]
pub fn to_isize(&self) -> Option<isize>
[src]
pub fn to_i8(&self) -> Option<i8>
[src]
pub fn to_i16(&self) -> Option<i16>
[src]
pub fn to_i32(&self) -> Option<i32>
[src]
pub fn to_i128(&self) -> Option<i128>
[src]
pub fn to_usize(&self) -> Option<usize>
[src]
pub fn to_u8(&self) -> Option<u8>
[src]
pub fn to_u16(&self) -> Option<u16>
[src]
pub fn to_u32(&self) -> Option<u32>
[src]
pub fn to_u128(&self) -> Option<u128>
[src]
pub fn to_f32(&self) -> Option<f32>
[src]
pub fn to_f64(&self) -> Option<f64>
[src]
Auto Trait Implementations
impl RefUnwindSafe for SystemError
impl RefUnwindSafe for SystemError
impl Send for SystemError
impl Send for SystemError
impl Sync for SystemError
impl Sync for SystemError
impl Unpin for SystemError
impl Unpin for SystemError
impl UnwindSafe for SystemError
impl UnwindSafe for SystemError
Blanket Implementations
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
[src]
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
[src]pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
[src]
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
[src]
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
[src]pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
[src]
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,