Trait DefaultLinkOps

Source
pub trait DefaultLinkOps {
    type Ops: LinkOps + Default;

    const NEW: Self::Ops;
}
Expand description

The default implementation of LinkOps associated with a link type.

Required Associated Constants§

Source

const NEW: Self::Ops

The associated constant that represents Ops::default().

This exists because Default::default() is not a constant function.

Required Associated Types§

Source

type Ops: LinkOps + Default

The default link operations.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

const NEW: Self::Ops = AtomicLinkOps

Source§

type Ops = AtomicLinkOps

Source§

const NEW: Self::Ops = LinkOps

Source§

type Ops = LinkOps

Source§

const NEW: Self::Ops = AtomicLinkOps

Source§

type Ops = AtomicLinkOps

Source§

const NEW: Self::Ops = LinkOps

Source§

type Ops = LinkOps

Source§

const NEW: Self::Ops = AtomicLinkOps

Source§

type Ops = AtomicLinkOps

Source§

const NEW: Self::Ops = LinkOps

Source§

type Ops = LinkOps

Source§

const NEW: Self::Ops = AtomicLinkOps

Source§

type Ops = AtomicLinkOps

Source§

const NEW: Self::Ops = LinkOps

Source§

type Ops = LinkOps