pub struct LocalRequestAdapter { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Adapter for LocalRequestAdapter
impl Adapter for LocalRequestAdapter
Source§type LinkOps = <Link as DefaultLinkOps>::Ops
type LinkOps = <Link as DefaultLinkOps>::Ops
Collection-specific link operations which allow an object to be inserted in
an intrusive collection.
Source§type PointerOps = DefaultPointerOps<Box<Request<NoopLock, Link>>>
type PointerOps = DefaultPointerOps<Box<Request<NoopLock, Link>>>
Collection-specific pointer conversions which allow an object to
be inserted in an intrusive collection.
Source§unsafe fn get_value(
&self,
link: <Self::LinkOps as LinkOps>::LinkPtr,
) -> *const <Self::PointerOps as PointerOps>::Value
unsafe fn get_value( &self, link: <Self::LinkOps as LinkOps>::LinkPtr, ) -> *const <Self::PointerOps as PointerOps>::Value
Gets a reference to an object from a reference to a link in that object. Read more
Source§unsafe fn get_link(
&self,
value: *const <Self::PointerOps as PointerOps>::Value,
) -> <Self::LinkOps as LinkOps>::LinkPtr
unsafe fn get_link( &self, value: *const <Self::PointerOps as PointerOps>::Value, ) -> <Self::LinkOps as LinkOps>::LinkPtr
Gets a reference to the link for the given object. Read more
Source§fn link_ops_mut(&mut self) -> &mut Self::LinkOps
fn link_ops_mut(&mut self) -> &mut Self::LinkOps
Returns a reference to the mutable link operations.
Source§fn pointer_ops(&self) -> &Self::PointerOps
fn pointer_ops(&self) -> &Self::PointerOps
Returns a reference to the pointer converter.
Source§impl Clone for LocalRequestAdapter
impl Clone for LocalRequestAdapter
Source§impl Default for LocalRequestAdapter
impl Default for LocalRequestAdapter
Source§impl IntrusiveAdapter<NoopLock, Link> for LocalRequestAdapter
impl IntrusiveAdapter<NoopLock, Link> for LocalRequestAdapter
impl Copy for LocalRequestAdapter
impl Send for LocalRequestAdapter
impl Sync for LocalRequestAdapter
Auto Trait Implementations§
impl Freeze for LocalRequestAdapter
impl !RefUnwindSafe for LocalRequestAdapter
impl Unpin for LocalRequestAdapter
impl !UnwindSafe for LocalRequestAdapter
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