pub struct NativeWorkspacePublication<'a> {
pub root: &'a Path,
pub operation_directory: &'a Path,
pub operation_id: OperationId,
pub from: GenerationId,
pub to: GenerationId,
pub excluded_names: &'a [&'a str],
pub options: &'a MaterializeOptions,
pub budget: WorkBudget,
pub cancellation: &'a CancellationToken,
}Expand description
Materializes and publishes one authenticated workspace generation to a physical root through the core journal. Recovery resumes an existing operation instead of rebuilding or accepting a partial checkout.
Fields§
§root: &'a PathPhysical checkout root.
operation_directory: &'a PathService-owned staging and recovery directory.
operation_id: OperationIdStable retry identity.
from: GenerationIdExpected physical/logical baseline.
to: GenerationIdExact target generation.
excluded_names: &'a [&'a str]Root-level names never touched by publication.
options: &'a MaterializeOptionsNative staging policy.
budget: WorkBudgetCumulative planning and staging budget.
cancellation: &'a CancellationTokenShared cancellation boundary.
Auto Trait Implementations§
impl<'a> Freeze for NativeWorkspacePublication<'a>
impl<'a> RefUnwindSafe for NativeWorkspacePublication<'a>
impl<'a> Send for NativeWorkspacePublication<'a>
impl<'a> Sync for NativeWorkspacePublication<'a>
impl<'a> Unpin for NativeWorkspacePublication<'a>
impl<'a> UnsafeUnpin for NativeWorkspacePublication<'a>
impl<'a> UnwindSafe for NativeWorkspacePublication<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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