Trait freya_devtools::NodeIdSerializer

source ·
pub trait NodeIdSerializer {
    // Required methods
    fn serialize(&self) -> String;
    fn deserialize(node_id: &str) -> Self;
}

Required Methods§

source

fn serialize(&self) -> String

source

fn deserialize(node_id: &str) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NodeIdSerializer for NodeId

source§

fn serialize(&self) -> String

source§

fn deserialize(node_id: &str) -> Self

Implementors§