pub struct SphinxPeeled<Current> {
pub current: Current,
pub shared_secret: [u8; 32],
pub next: Option<Vec<u8>>,
}Expand description
Internal result of peeling a Sphinx onion layer.
Fields§
§current: Current§next: Option<Vec<u8>>Auto Trait Implementations§
impl<Current> Freeze for SphinxPeeled<Current>where
Current: Freeze,
impl<Current> RefUnwindSafe for SphinxPeeled<Current>where
Current: RefUnwindSafe,
impl<Current> Send for SphinxPeeled<Current>where
Current: Send,
impl<Current> Sync for SphinxPeeled<Current>where
Current: Sync,
impl<Current> Unpin for SphinxPeeled<Current>where
Current: Unpin,
impl<Current> UnsafeUnpin for SphinxPeeled<Current>where
Current: UnsafeUnpin,
impl<Current> UnwindSafe for SphinxPeeled<Current>where
Current: 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