pub struct CapeErrorImpl {
interface: ICapeError,
text: String,
scope: String,
source: String,
cause: Option<CapeError>,
reference_count: i32,
}Expand description
CAPE-OPEN Error object implementation
This class implements a native CAPE-OPEN error object. The error object implements ICapeError. This object is constructed when ICapeInterfaceImpl is asked for its current error.
Fields§
§interface: ICapeError§text: String§scope: String§source: String§cause: Option<CapeError>§reference_count: i32Implementations§
Source§impl CapeErrorImpl
impl CapeErrorImpl
const VTABLE: ICapeError_VTable
pub fn new(err: &COBIAError, scope: &str, source: &str) -> *mut ICapeError
extern "C" fn add_reference(me: *mut c_void)
extern "C" fn release(me: *mut c_void)
extern "C" fn get_error_text( me: *mut c_void, error_text: *mut ICapeString, ) -> CapeResult
extern "C" fn get_cause( me: *mut c_void, cause: *mut *mut ICapeError, ) -> CapeResult
extern "C" fn get_source( me: *mut c_void, component_description: *mut ICapeString, ) -> CapeResult
extern "C" fn get_scope( me: *mut c_void, error_scope: *mut ICapeString, ) -> CapeResult
Auto Trait Implementations§
impl Freeze for CapeErrorImpl
impl RefUnwindSafe for CapeErrorImpl
impl !Send for CapeErrorImpl
impl !Sync for CapeErrorImpl
impl Unpin for CapeErrorImpl
impl UnwindSafe for CapeErrorImpl
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