Skip to main content

JoinRef

Trait JoinRef 

Source
pub trait JoinRef:
    Sealed
    + Clone
    + Send
    + Sync
    + 'static {
    type Mode: JoinMode + Send + Sync;

    // Required method
    fn into_root_ref(self) -> <Self::Mode as JoinMode>::RootRef;
}
Expand description

Maps a reference type to its join mode. Sealed — implemented for ChunkAddress and EncryptedChunkRef.

Required Associated Types§

Source

type Mode: JoinMode + Send + Sync

The join mode associated with this reference type.

Required Methods§

Source

fn into_root_ref(self) -> <Self::Mode as JoinMode>::RootRef

Convert into the root reference expected by the joiner.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl JoinRef for ChunkAddress

Source§

impl JoinRef for EncryptedChunkRef

Available on crate feature encryption only.