pub struct Head<O, P = Maybe> { /* private fields */ }Expand description
A validated head over immutable wire storage.
Implementations§
Source§impl<P> Head<Bytes<Owner<'_, Span<Plain<Layout>, Owned, Frozen>>>, P>
impl<P> Head<Bytes<Owner<'_, Span<Plain<Layout>, Owned, Frozen>>>, P>
pub fn into_inner(self) -> Head<Bytes, P>
Trait Implementations§
Auto Trait Implementations§
impl<O, P> Forget for Head<O, P>
impl<O, P> Freeze for Head<O, P>
impl<O, P> RefUnwindSafe for Head<O, P>where
O: RefUnwindSafe,
P: RefUnwindSafe,
impl<O, P> Send for Head<O, P>
impl<O, P> Sync for Head<O, P>
impl<O, P> Unpin for Head<O, P>
impl<O, P> UnsafeUnpin for Head<O, P>where
O: UnsafeUnpin,
P: UnsafeUnpin,
impl<O, P> UnwindSafe for Head<O, P>where
O: UnwindSafe,
P: UnwindSafe,
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