pub struct ErrorCode;Expand description
API error codes returned in encrypt responses (error field).
Implementations§
Source§impl ErrorCode
impl ErrorCode
pub const SUCCESS: i32 = 0
pub const EMPTY_LABEL: i32 = 1
pub const LENGTH_LABEL: i32 = 2
pub const EMPTY_STRING: i32 = 3
pub const EMPTY_BYTES: i32 = 4
pub const EMPTY_INPUT: i32 = 5
pub const LENGTH_STRING: i32 = 6
pub const INVALID_LANG: i32 = 7
pub const INVALID_LOCALE: i32 = 8
pub const CMD_MIN: i32 = 9
pub const CMD_MAX: i32 = 10
pub const LENGTH_BYTES: i32 = 11
pub const DEMO: i32 = 100
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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