pub enum AcceptPagesError {
Unknown(TdCallResultCode),
Attributes(TdCallResultCode),
Invalid(TdCallResultCode),
Busy(TdCallResultCode),
}
Expand description
The error returned by accept_pages
.
Variants§
Unknown(TdCallResultCode)
Unknown error type.
Attributes(TdCallResultCode)
Setting page attributes failed after accepting,
Invalid(TdCallResultCode)
Invalid operand
Busy(TdCallResultCode)
Busy Operand
Trait Implementations§
Source§impl Debug for AcceptPagesError
impl Debug for AcceptPagesError
Source§impl Display for AcceptPagesError
impl Display for AcceptPagesError
Source§impl Error for AcceptPagesError
impl Error for AcceptPagesError
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()
Auto Trait Implementations§
impl Freeze for AcceptPagesError
impl RefUnwindSafe for AcceptPagesError
impl Send for AcceptPagesError
impl Sync for AcceptPagesError
impl Unpin for AcceptPagesError
impl UnwindSafe for AcceptPagesError
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