#[repr(u32)]pub enum PredsyncStatus {
Ok = 0,
NullPointer = 1,
InvalidSchema = 2,
InvalidHandle = 3,
BufferTooSmall = 4,
InvalidValue = 5,
EncodeError = 6,
DecodeError = 7,
Panic = 8,
}Expand description
Status returned by every C entry point.
Variants§
Ok = 0
The operation succeeded.
NullPointer = 1
A required pointer was null.
InvalidSchema = 2
The supplied schema text was not valid.
InvalidHandle = 3
A handle was not usable.
BufferTooSmall = 4
A caller-provided buffer was too small.
InvalidValue = 5
A value did not match its schema type.
EncodeError = 6
Encoding failed; see the error code output.
DecodeError = 7
Decoding failed; see the error code output.
Panic = 8
A panic was caught at the C boundary.
Trait Implementations§
Source§impl Clone for PredsyncStatus
impl Clone for PredsyncStatus
impl Copy for PredsyncStatus
Source§impl Debug for PredsyncStatus
impl Debug for PredsyncStatus
impl Eq for PredsyncStatus
Source§impl PartialEq for PredsyncStatus
impl PartialEq for PredsyncStatus
impl StructuralPartialEq for PredsyncStatus
Auto Trait Implementations§
impl Freeze for PredsyncStatus
impl RefUnwindSafe for PredsyncStatus
impl Send for PredsyncStatus
impl Sync for PredsyncStatus
impl Unpin for PredsyncStatus
impl UnsafeUnpin for PredsyncStatus
impl UnwindSafe for PredsyncStatus
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.