pub enum VersionedSchemaError {
Show 15 variants
ParseError,
MissingSchemaVersion,
InvalidSchemaVersion,
NoContractInModule,
NoReceiveInContract,
NoInitInContract,
NoParamsInReceive,
NoParamsInInit,
NoErrorInReceive,
NoErrorInInit,
ErrorNotSupported,
NoReturnValueInReceive,
ReturnValueNotSupported,
NoEventInContract,
EventNotSupported,
}
Variants§
ParseError
MissingSchemaVersion
InvalidSchemaVersion
NoContractInModule
NoReceiveInContract
NoInitInContract
NoParamsInReceive
NoParamsInInit
NoErrorInReceive
NoErrorInInit
ErrorNotSupported
NoReturnValueInReceive
ReturnValueNotSupported
NoEventInContract
EventNotSupported
Trait Implementations§
source§impl Clone for VersionedSchemaError
impl Clone for VersionedSchemaError
source§fn clone(&self) -> VersionedSchemaError
fn clone(&self) -> VersionedSchemaError
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 VersionedSchemaError
impl Debug for VersionedSchemaError
source§impl Display for VersionedSchemaError
impl Display for VersionedSchemaError
source§impl Error for VersionedSchemaError
impl Error for VersionedSchemaError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseError> for VersionedSchemaError
impl From<ParseError> for VersionedSchemaError
source§fn from(_: ParseError) -> Self
fn from(_: ParseError) -> Self
Converts to this type from the input type.
impl Copy for VersionedSchemaError
Auto Trait Implementations§
impl Freeze for VersionedSchemaError
impl RefUnwindSafe for VersionedSchemaError
impl Send for VersionedSchemaError
impl Sync for VersionedSchemaError
impl Unpin for VersionedSchemaError
impl UnwindSafe for VersionedSchemaError
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