Trait swipl::blob::ArcBlob

source ·
pub unsafe trait ArcBlob: ArcBlobImpl {
    // Required method
    fn get_blob_definition() -> &'static PL_blob_t;
}
Expand description

A blob type whose data is shared with SWI-Prolog as an atomic reference-counted pointer.

Safety

This is unsafe because care has to be taken that the returned PL_blob_t from get_blob_definition actually matches the blob type.

Required Methods§

source

fn get_blob_definition() -> &'static PL_blob_t

Return a blob definition for this ArcBlob.

Object Safety§

This trait is not object safe.

Implementors§