pub struct NativeFunction(/* private fields */);Expand description
The native SDK entry point that produced a result.
Values originate in the resolved native tables, so a reported operation retains the exact name of the function that was called.
Implementations§
Trait Implementations§
Source§impl Clone for NativeFunction
impl Clone for NativeFunction
impl Copy for NativeFunction
Source§impl Debug for NativeFunction
impl Debug for NativeFunction
Source§impl Display for NativeFunction
impl Display for NativeFunction
impl Eq for NativeFunction
Source§impl Error for NativeFunction
impl Error for NativeFunction
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 Hash for NativeFunction
impl Hash for NativeFunction
Source§impl PartialEq for NativeFunction
impl PartialEq for NativeFunction
Source§impl PartialEq<&CStr> for NativeFunction
impl PartialEq<&CStr> for NativeFunction
impl StructuralPartialEq for NativeFunction
Auto Trait Implementations§
impl Freeze for NativeFunction
impl RefUnwindSafe for NativeFunction
impl Send for NativeFunction
impl Sync for NativeFunction
impl Unpin for NativeFunction
impl UnsafeUnpin for NativeFunction
impl UnwindSafe for NativeFunction
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