Trait SharedPointer

Source
pub trait SharedPointer {
    // Required method
    fn data_address(&self) -> *const ();
}
Expand description

A deserializable shared pointer type.

Required Methods§

Source

fn data_address(&self) -> *const ()

Returns the data address for this shared pointer.

Implementations on Foreign Types§

Source§

impl<T: ?Sized> SharedPointer for Rc<T>

Source§

impl<T: ?Sized> SharedPointer for Arc<T>

Implementors§