pub trait RawPointer {
// Required methods
unsafe fn from_ptr(t: *mut c_void) -> Self;
unsafe fn as_ptr(&self) -> *mut c_void;
}
Expand description
Allows access to the underlying schannel API representation of a wrapped data type
Performing actions with internal handles might lead to the violation of internal assumptions and therefore is inherently unsafe.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.