Saving
This commit is contained in:
parent
bc243143e5
commit
ca8989f8e6
6 changed files with 37 additions and 35 deletions
|
|
@ -59,6 +59,13 @@ impl<ByteBuf: Eq + std::hash::Hash> ExtendedHandshake<ByteBuf> {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
pub fn ut_metadata(&self) -> Option<u8>
|
||||
where
|
||||
ByteBuf: AsRef<[u8]>,
|
||||
{
|
||||
self.get_msgid(b"ut_metadata")
|
||||
}
|
||||
}
|
||||
|
||||
impl<ByteBuf> CloneToOwned for ExtendedHandshake<ByteBuf>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue