pub enum LibccpError {
Show 34 variants
OtherError(&'static str),
LibccpOk,
LibccpMissingArg,
LibccpNullArg,
LibccpBufsizeNegative,
LibccpBufsizeTooSmall,
LibccpMsgTooLong,
LibccpWriteInvalidHeaderType,
LibccpReadInvalidHeaderType,
LibccpReadInvalidOp,
LibccpReadRegNotAllowed,
LibccpReadInvalidReturnReg,
LibccpReadInvalidLeftReg,
LibccpReadInvalidRightReg,
LibccpInstallTypeMismatch,
LibccpInstallTooManyExpr,
LibccpInstallTooManyInstr,
LibccpUpdateTypeMismatch,
LibccpUpdateTooMany,
LibccpUpdateInvalidRegType,
LibccpChangeTypeMismatch,
LibccpChangeTooMany,
LibccpUnknownConnection,
LibccpCreatePending,
LibccpConnectionNotInitialized,
LibccpProgTableFull,
LibccpProgNotFound,
LibccpAddIntOverflow,
LibccpDivByZero,
LibccpMulIntOverflow,
LibccpSubIntUnderflow,
LibccpPrivIsNull,
LibccpProgIsNull,
LibccpFallbackTimedOut,
}Variants§
OtherError(&'static str)
LibccpOk
LibccpMissingArg
LibccpNullArg
LibccpBufsizeNegative
LibccpBufsizeTooSmall
LibccpMsgTooLong
LibccpWriteInvalidHeaderType
LibccpReadInvalidHeaderType
LibccpReadInvalidOp
LibccpReadRegNotAllowed
LibccpReadInvalidReturnReg
LibccpReadInvalidLeftReg
LibccpReadInvalidRightReg
LibccpInstallTypeMismatch
LibccpInstallTooManyExpr
LibccpInstallTooManyInstr
LibccpUpdateTypeMismatch
LibccpUpdateTooMany
LibccpUpdateInvalidRegType
LibccpChangeTypeMismatch
LibccpChangeTooMany
LibccpUnknownConnection
LibccpCreatePending
LibccpConnectionNotInitialized
LibccpProgTableFull
LibccpProgNotFound
LibccpAddIntOverflow
LibccpDivByZero
LibccpMulIntOverflow
LibccpSubIntUnderflow
LibccpPrivIsNull
LibccpProgIsNull
LibccpFallbackTimedOut
Trait Implementations§
Source§impl Clone for LibccpError
impl Clone for LibccpError
Source§fn clone(&self) -> LibccpError
fn clone(&self) -> LibccpError
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 LibccpError
impl Debug for LibccpError
Source§impl Display for LibccpError
impl Display for LibccpError
Source§impl Error for LibccpError
impl Error for LibccpError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<i32> for LibccpError
impl From<i32> for LibccpError
Source§impl Into<Result<(), LibccpError>> for LibccpError
impl Into<Result<(), LibccpError>> for LibccpError
impl Copy for LibccpError
Auto Trait Implementations§
impl Freeze for LibccpError
impl RefUnwindSafe for LibccpError
impl Send for LibccpError
impl Sync for LibccpError
impl Unpin for LibccpError
impl UnwindSafe for LibccpError
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