Enum rsfbclient_core::StmtType
source · [−]#[repr(u8)]
pub enum StmtType {
Show 14 variants
Select,
Insert,
Update,
Delete,
Ddl,
GetSegment,
PutSegment,
ExecProcedure,
StartTrans,
Commit,
Rollback,
SelectForUpd,
SetGenerator,
Savepoint,
}Expand description
Statement type
Variants
Select
Insert
Update
Delete
Ddl
GetSegment
PutSegment
ExecProcedure
StartTrans
Commit
Rollback
SelectForUpd
SetGenerator
Savepoint
Trait Implementations
sourceimpl PartialEq<StmtType> for StmtType
impl PartialEq<StmtType> for StmtType
sourceimpl TryFrom<u8> for StmtType
impl TryFrom<u8> for StmtType
type Error = TryFromPrimitiveError<StmtType>
type Error = TryFromPrimitiveError<StmtType>
The type returned in the event of a conversion error.
sourcefn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for StmtType
impl TryFromPrimitive for StmtType
type Primitive = u8
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for StmtType
impl Eq for StmtType
impl StructuralEq for StmtType
impl StructuralPartialEq for StmtType
Auto Trait Implementations
impl RefUnwindSafe for StmtType
impl Send for StmtType
impl Sync for StmtType
impl Unpin for StmtType
impl UnwindSafe for StmtType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more