pub struct Code(/* private fields */);
Expand description
The error code.
Implementations§
Source§impl Code
Constants
impl Code
Constants
pub const Failed: Code
👎Deprecated since 0.9.0: Use Code::FAILED instead
pub const Success: Code
👎Deprecated since 0.9.0: Use Code::SUCCESS instead
pub const FAILED: Code
pub const SUCCESS: Code
pub const COLUMN_EXISTS: Code
pub const COLUMN_NOT_EXIST: Code
pub const TAG_ALREADY_EXIST: Code
pub const TAG_NOT_EXIST: Code
pub const MODIFIED_ALREADY: Code
pub const INVALID_COLUMN_NAME: Code
pub const TABLE_NOT_EXIST: Code
pub const STABLE_NOT_EXIST: Code
pub const INVALID_ROW_BYTES: Code
pub const DUPLICATED_COLUMN_NAMES: Code
pub const NO_COLUMN_CAN_BE_DROPPED: Code
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Code
impl<'de> Deserialize<'de> for Code
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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