risingwave_hummock_sdk::key

Trait CopyFromSlice

source
pub trait CopyFromSlice {
    // Required method
    fn copy_from_slice(slice: &[u8]) -> Self;
}

Required Methods§

source

fn copy_from_slice(slice: &[u8]) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CopyFromSlice for Vec<u8>

source§

fn copy_from_slice(slice: &[u8]) -> Self

source§

impl CopyFromSlice for Bytes

source§

fn copy_from_slice(slice: &[u8]) -> Self

Implementors§