#[repr(C)]pub enum EnposeStatus {
Ok = 0,
InvalidArg = -1,
Io = -2,
Panic = -3,
}Expand description
Result code returned by the fallible C API functions.
Variants§
Ok = 0
The call succeeded.
InvalidArg = -1
A required argument was null or otherwise invalid.
Io = -2
An I/O error occurred (e.g. the network operation failed).
Panic = -3
The Rust side panicked; the call was aborted cleanly.
Trait Implementations§
Source§impl Clone for EnposeStatus
impl Clone for EnposeStatus
Source§fn clone(&self) -> EnposeStatus
fn clone(&self) -> EnposeStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EnposeStatus
Source§impl Debug for EnposeStatus
impl Debug for EnposeStatus
impl Eq for EnposeStatus
Source§impl PartialEq for EnposeStatus
impl PartialEq for EnposeStatus
Source§fn eq(&self, other: &EnposeStatus) -> bool
fn eq(&self, other: &EnposeStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnposeStatus
Auto Trait Implementations§
impl Freeze for EnposeStatus
impl RefUnwindSafe for EnposeStatus
impl Send for EnposeStatus
impl Sync for EnposeStatus
impl Unpin for EnposeStatus
impl UnsafeUnpin for EnposeStatus
impl UnwindSafe for EnposeStatus
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