pub enum IcDbmsError {
Memory(MemoryError),
Query(QueryError),
Table(TableError),
Transaction(TransactionError),
}Expand description
IcDbms Error type
Variants§
Trait Implementations§
Source§impl CandidType for IcDbmsError
impl CandidType for IcDbmsError
Source§impl Debug for IcDbmsError
impl Debug for IcDbmsError
Source§impl<'de> Deserialize<'de> for IcDbmsError
impl<'de> Deserialize<'de> for IcDbmsError
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IcDbmsError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IcDbmsError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for IcDbmsError
impl Display for IcDbmsError
Source§impl Error for IcDbmsError
impl Error for IcDbmsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<MemoryError> for IcDbmsError
impl From<MemoryError> for IcDbmsError
Source§fn from(source: MemoryError) -> IcDbmsError
fn from(source: MemoryError) -> IcDbmsError
Converts to this type from the input type.
Source§impl From<QueryError> for IcDbmsError
impl From<QueryError> for IcDbmsError
Source§fn from(source: QueryError) -> IcDbmsError
fn from(source: QueryError) -> IcDbmsError
Converts to this type from the input type.
Source§impl From<TableError> for IcDbmsError
impl From<TableError> for IcDbmsError
Source§fn from(source: TableError) -> IcDbmsError
fn from(source: TableError) -> IcDbmsError
Converts to this type from the input type.
Source§impl From<TransactionError> for IcDbmsError
impl From<TransactionError> for IcDbmsError
Source§fn from(source: TransactionError) -> IcDbmsError
fn from(source: TransactionError) -> IcDbmsError
Converts to this type from the input type.
Source§impl Serialize for IcDbmsError
impl Serialize for IcDbmsError
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IcDbmsError
impl RefUnwindSafe for IcDbmsError
impl Send for IcDbmsError
impl Sync for IcDbmsError
impl Unpin for IcDbmsError
impl UnwindSafe for IcDbmsError
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