#[repr(u32)]pub enum Errors {
Show 13 variants
UnauthorizedAuthorityUpdate = 0,
InvalidRule = 1,
InvalidRole = 2,
StringTooShort = 3,
StringTooLong = 4,
Unauthorized = 5,
InvalidAppID = 6,
InvalidAddressType = 7,
InvalidNamespace = 8,
MissingSolCerberusAppId = 9,
MissingSeedAccount = 10,
UnauthorizedProgramAuthority = 11,
InsufficientFunds = 12,
}Variants§
InvalidRule = 1
InvalidRole = 2
StringTooShort = 3
StringTooLong = 4
InvalidAppID = 6
InvalidAddressType = 7
InvalidNamespace = 8
MissingSolCerberusAppId = 9
MissingSeedAccount = 10
InsufficientFunds = 12
Implementations§
Trait Implementations§
impl Copy for Errors
Auto Trait Implementations§
impl Freeze for Errors
impl RefUnwindSafe for Errors
impl Send for Errors
impl Sync for Errors
impl Unpin for Errors
impl UnwindSafe for Errors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more