Struct tls_codec::VLByteSlice
source · pub struct VLByteSlice<'a>(pub &'a [u8]);
Tuple Fields§
§0: &'a [u8]
Implementations§
Trait Implementations§
source§impl<'a> Debug for VLByteSlice<'a>
impl<'a> Debug for VLByteSlice<'a>
source§impl<'a> Serialize for &VLByteSlice<'a>
Available on crate feature std
only.
impl<'a> Serialize for &VLByteSlice<'a>
Available on crate feature
std
only.source§impl<'a> Serialize for VLByteSlice<'a>
Available on crate feature std
only.
impl<'a> Serialize for VLByteSlice<'a>
Available on crate feature
std
only.source§impl<'a> Size for &VLByteSlice<'a>
impl<'a> Size for &VLByteSlice<'a>
fn tls_serialized_len(&self) -> usize
source§impl<'a> Size for VLByteSlice<'a>
impl<'a> Size for VLByteSlice<'a>
fn tls_serialized_len(&self) -> usize
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VLByteSlice<'a>
impl<'a> Send for VLByteSlice<'a>
impl<'a> Sync for VLByteSlice<'a>
impl<'a> Unpin for VLByteSlice<'a>
impl<'a> UnwindSafe for VLByteSlice<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more