Trait FromVnodeBytes

Source
pub trait FromVnodeBytes {
    // Required method
    fn from_vnode_bytes(vnode: VirtualNode, bytes: &Bytes) -> Self;
}

Required Methods§

Source

fn from_vnode_bytes(vnode: VirtualNode, bytes: &Bytes) -> Self

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.

Implementations on Foreign Types§

Source§

impl FromVnodeBytes for ()

Source§

fn from_vnode_bytes(_vnode: VirtualNode, _bytes: &Bytes) -> Self

Source§

impl FromVnodeBytes for Bytes

Source§

fn from_vnode_bytes(vnode: VirtualNode, bytes: &Bytes) -> Self

Implementors§