pub struct ProjectsSurfaces<'a> {
pub gateway: &'a dyn ProjectGateway,
pub host: &'a dyn ProjectHost,
}Expand description
The two surfaces a project deploy talks to: the gateway REST API and the
gateway host’s filesystem (the .git probe, the release record read). The
host surface is read-only; the record is written through the writer
deploy_projects_run builds for the master node.
Fields§
§gateway: &'a dyn ProjectGatewayThe gateway project calls.
host: &'a dyn ProjectHostThe host reads.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ProjectsSurfaces<'a>
impl<'a> !UnwindSafe for ProjectsSurfaces<'a>
impl<'a> Freeze for ProjectsSurfaces<'a>
impl<'a> Send for ProjectsSurfaces<'a>
impl<'a> Sync for ProjectsSurfaces<'a>
impl<'a> Unpin for ProjectsSurfaces<'a>
impl<'a> UnsafeUnpin for ProjectsSurfaces<'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