pub struct ReporterPluginDeclaration {
pub rustc_version: &'static str,
pub core_version: &'static str,
pub init: unsafe extern "C" fn(_: &'static dyn Log, _: LevelFilter),
pub deserialise: unsafe extern "C" fn(_: &mut dyn Deserializer<'_>) -> Result<ManuallyDrop<UnsafeReporterPlugin>, Error>,
pub library_path: unsafe extern "C" fn() -> Option<PathBuf>,
pub drop: unsafe extern "C" fn(_: ManuallyDrop<UnsafeReporterPlugin>),
}
Fields§
§rustc_version: &'static str
§core_version: &'static str
§init: unsafe extern "C" fn(_: &'static dyn Log, _: LevelFilter)
§deserialise: unsafe extern "C" fn(_: &mut dyn Deserializer<'_>) -> Result<ManuallyDrop<UnsafeReporterPlugin>, Error>
§library_path: unsafe extern "C" fn() -> Option<PathBuf>
§drop: unsafe extern "C" fn(_: ManuallyDrop<UnsafeReporterPlugin>)
Auto Trait Implementations§
impl Freeze for ReporterPluginDeclaration
impl RefUnwindSafe for ReporterPluginDeclaration
impl Send for ReporterPluginDeclaration
impl Sync for ReporterPluginDeclaration
impl Unpin for ReporterPluginDeclaration
impl UnwindSafe for ReporterPluginDeclaration
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
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more