pub struct SealedSegment<'a> {
pub header: SegmentHeader,
pub body: &'a [u8],
}Expand description
A sealed segment: header and body. The body is chunks of ciphertext and tags, opaque here.
Fields§
§header: SegmentHeader§body: &'a [u8]Implementations§
Trait Implementations§
Source§impl<'a> Clone for SealedSegment<'a>
impl<'a> Clone for SealedSegment<'a>
Source§impl<'a> Debug for SealedSegment<'a>
impl<'a> Debug for SealedSegment<'a>
impl<'a> Eq for SealedSegment<'a>
Source§impl<'a> PartialEq for SealedSegment<'a>
impl<'a> PartialEq for SealedSegment<'a>
impl<'a> StructuralPartialEq for SealedSegment<'a>
Auto Trait Implementations§
impl<'a> Freeze for SealedSegment<'a>
impl<'a> RefUnwindSafe for SealedSegment<'a>
impl<'a> Send for SealedSegment<'a>
impl<'a> Sync for SealedSegment<'a>
impl<'a> Unpin for SealedSegment<'a>
impl<'a> UnsafeUnpin for SealedSegment<'a>
impl<'a> UnwindSafe for SealedSegment<'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