pub enum FfiSafety {
Safe,
Unsafe,
System,
}Expand description
FFI safety level for external functions.
Variants§
Safe
Safe to call from safe Rust code.
Unsafe
Must be called from unsafe blocks.
System
System call (platform-specific behavior).
Trait Implementations§
impl Copy for FfiSafety
impl Eq for FfiSafety
impl StructuralPartialEq for FfiSafety
Auto Trait Implementations§
impl Freeze for FfiSafety
impl RefUnwindSafe for FfiSafety
impl Send for FfiSafety
impl Sync for FfiSafety
impl Unpin for FfiSafety
impl UnsafeUnpin for FfiSafety
impl UnwindSafe for FfiSafety
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