#[repr(C)]pub enum VldbSqliteStatusCode {
Success = 0,
Failure = 1,
}Expand description
FFI 状态码,供 Go / C 调用方判断调用是否成功。 FFI status code used by Go / C callers to determine whether an invocation succeeded.
Variants§
Success = 0
调用成功。 The invocation completed successfully.
Failure = 1
调用失败,可通过最近一次错误消息读取原因。 The invocation failed; the reason can be read from the latest error message.
Trait Implementations§
Source§impl Clone for VldbSqliteStatusCode
impl Clone for VldbSqliteStatusCode
Source§fn clone(&self) -> VldbSqliteStatusCode
fn clone(&self) -> VldbSqliteStatusCode
Returns a duplicate 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 VldbSqliteStatusCode
impl Debug for VldbSqliteStatusCode
Source§impl PartialEq for VldbSqliteStatusCode
impl PartialEq for VldbSqliteStatusCode
impl Copy for VldbSqliteStatusCode
impl Eq for VldbSqliteStatusCode
impl StructuralPartialEq for VldbSqliteStatusCode
Auto Trait Implementations§
impl Freeze for VldbSqliteStatusCode
impl RefUnwindSafe for VldbSqliteStatusCode
impl Send for VldbSqliteStatusCode
impl Sync for VldbSqliteStatusCode
impl Unpin for VldbSqliteStatusCode
impl UnsafeUnpin for VldbSqliteStatusCode
impl UnwindSafe for VldbSqliteStatusCode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request