fix(node): make uid public

This commit is contained in:
Nova
2022-06-16 14:24:25 -04:00
parent 34d95067dd
commit 1433d74f18

View File

@@ -18,7 +18,7 @@ pub type Signal = fn(&Node, Arc<Client>, &[u8]) -> Result<()>;
pub type Method = fn(&Node, Arc<Client>, &[u8]) -> Result<Vec<u8>>; pub type Method = fn(&Node, Arc<Client>, &[u8]) -> Result<Vec<u8>>;
pub struct Node { pub struct Node {
uid: String, pub(super) uid: String,
pub(crate) client: Weak<Client>, pub(crate) client: Weak<Client>,
path: String, path: String,
// trailing_slash_pos: usize, // trailing_slash_pos: usize,