Struct cros_asyncv2::sync::waiter::WaiterAdapter
source · [−]pub struct WaiterAdapter {
link_ops: <AtomicLink as DefaultLinkOps>::Ops,
pointer_ops: DefaultPointerOps<Arc<Waiter>>,
}
Fields
link_ops: <AtomicLink as DefaultLinkOps>::Ops
pointer_ops: DefaultPointerOps<Arc<Waiter>>
Implementations
Trait Implementations
sourceimpl Adapter for WaiterAdapter
impl Adapter for WaiterAdapter
type LinkOps = <AtomicLink as DefaultLinkOps>::Ops
type LinkOps = <AtomicLink as DefaultLinkOps>::Ops
Collection-specific link operations which allow an object to be inserted in
an intrusive collection. Read more
type PointerOps = DefaultPointerOps<Arc<Waiter>>
type PointerOps = DefaultPointerOps<Arc<Waiter>>
Collection-specific pointer conversions which allow an object to
be inserted in an intrusive collection. Read more
sourceunsafe 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
sourceunsafe 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
sourcefn 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.
sourcefn pointer_ops(&self) -> &Self::PointerOps
fn pointer_ops(&self) -> &Self::PointerOps
Returns a reference to the pointer converter.
sourceimpl Clone for WaiterAdapter
impl Clone for WaiterAdapter
sourceimpl Default for WaiterAdapter
impl Default for WaiterAdapter
impl Copy for WaiterAdapter
impl Send for WaiterAdapter
impl Sync for WaiterAdapter
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more