mirror of
https://github.com/Noratrieb/tls.git
synced 2026-01-16 01:25:02 +01:00
process server hello
This commit is contained in:
parent
800ff88a6d
commit
b3b5e4c4ae
4 changed files with 114 additions and 10 deletions
|
|
@ -234,6 +234,12 @@ impl<T, Len: Value> From<Vec<T>> for List<T, Len> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T, Len> AsRef<[T]> for List<T, Len> {
|
||||
fn as_ref(&self) -> &[T] {
|
||||
self.0.as_ref()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Debug, Len> Debug for List<T, Len> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.debug_list().entries(self.0.iter()).finish()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue