pub struct Code(/* private fields */);Expand description
Error code.
Implementations§
Source§impl Code
impl Code
pub const OK: Self
pub const ERROR: Self
pub const INTERNAL: Self
pub const PERM: Self
pub const ABORT: Self
pub const BUSY: Self
pub const LOCKED: Self
pub const NOMEM: Self
pub const READONLY: Self
pub const INTERRUPT: Self
pub const IOERR: Self
pub const CORRUPT: Self
pub const NOTFOUND: Self
pub const FULL: Self
pub const CANTOPEN: Self
pub const PROTOCOL: Self
pub const EMPTY: Self
pub const SCHEMA: Self
pub const TOOBIG: Self
pub const CONSTRAINT: Self
pub const MISMATCH: Self
pub const MISUSE: Self
pub const NOLFS: Self
pub const AUTH: Self
pub const FORMAT: Self
pub const RANGE: Self
pub const NOTADB: Self
pub const NOTICE: Self
pub const WARNING: Self
pub const IOERR_READ: Self
pub const IOERR_SHORT_READ: Self
pub const IOERR_WRITE: Self
pub const IOERR_FSYNC: Self
pub const IOERR_DIR_FSYNC: Self
pub const IOERR_TRUNCATE: Self
pub const IOERR_FSTAT: Self
pub const IOERR_UNLOCK: Self
pub const IOERR_RDLOCK: Self
pub const IOERR_DELETE: Self
pub const IOERR_BLOCKED: Self
pub const IOERR_NOMEM: Self
pub const IOERR_ACCESS: Self
pub const IOERR_CHECKRESERVEDLOCK: Self
pub const IOERR_LOCK: Self
pub const IOERR_CLOSE: Self
pub const IOERR_DIR_CLOSE: Self
pub const IOERR_SHMOPEN: Self
pub const IOERR_SHMSIZE: Self
pub const IOERR_SHMLOCK: Self
pub const IOERR_SHMMAP: Self
pub const IOERR_SEEK: Self
pub const IOERR_DELETE_NOENT: Self
pub const IOERR_MMAP: Self
pub const IOERR_GETTEMPPATH: Self
pub const IOERR_CONVPATH: Self
pub const LOCKED_SHAREDCACHE: Self
pub const BUSY_RECOVERY: Self
pub const BUSY_SNAPSHOT: Self
pub const CANTOPEN_NOTEMPDIR: Self
pub const CANTOPEN_ISDIR: Self
pub const CANTOPEN_FULLPATH: Self
pub const CANTOPEN_CONVPATH: Self
pub const CORRUPT_VTAB: Self
pub const READONLY_RECOVERY: Self
pub const READONLY_CANTLOCK: Self
pub const READONLY_ROLLBACK: Self
pub const READONLY_DBMOVED: Self
pub const ABORT_ROLLBACK: Self
pub const CONSTRAINT_CHECK: Self
pub const CONSTRAINT_COMMITHOOK: Self
pub const CONSTRAINT_FOREIGNKEY: Self
pub const CONSTRAINT_FUNCTION: Self
pub const CONSTRAINT_NOTNULL: Self
pub const CONSTRAINT_PRIMARYKEY: Self
pub const CONSTRAINT_TRIGGER: Self
pub const CONSTRAINT_UNIQUE: Self
pub const CONSTRAINT_VTAB: Self
pub const CONSTRAINT_ROWID: Self
pub const NOTICE_RECOVER_WAL: Self
pub const NOTICE_RECOVER_ROLLBACK: Self
pub const WARNING_AUTOINDEX: Self
pub const AUTH_USER: Self
pub const OK_LOAD_PERMANENTLY: Self
Trait Implementations§
Source§impl Ord for Code
impl Ord for Code
Source§impl PartialOrd for Code
impl PartialOrd for Code
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