pub struct StoredExit {
pub vtxo_id: VtxoId,
pub state: ExitState,
pub history: Vec<ExitState>,
}Expand description
Persistable view of an ExitVtxo.
StoredExit is a lightweight data transfer object tailored for storage backends. It captures
the VTXO ID, the current state, and the full history of the unilateral exit.
Fields§
§vtxo_id: VtxoIdIdentifier of the VTXO being exited.
state: ExitStateCurrent exit state.
history: Vec<ExitState>Historical states for auditability.
Implementations§
Auto Trait Implementations§
impl Freeze for StoredExit
impl RefUnwindSafe for StoredExit
impl Send for StoredExit
impl Sync for StoredExit
impl Unpin for StoredExit
impl UnwindSafe for StoredExit
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request