pub struct ResourceBindOutcome {
pub name: String,
pub ports: BTreeMap<String, u16>,
pub status: ResourceStatus,
pub prepare: Option<(bool, Utf8PathBuf)>,
pub blocked_by: Vec<String>,
pub captured: Vec<String>,
pub missing_captures: Vec<String>,
pub rendered: Vec<RenderOutcome>,
pub render_error: Option<String>,
}Expand description
How a resource was bound at spawn.
Fields§
§name: String§ports: BTreeMap<String, u16>§status: ResourceStatus§prepare: Option<(bool, Utf8PathBuf)>Present when a prepare action ran: (succeeded, log path).
blocked_by: Vec<String>Resource dependencies that prevented prepare from running.
captured: Vec<String>Export names prepare published through captures.
missing_captures: Vec<String>One warning per declared capture prepare never emitted.
rendered: Vec<RenderOutcome>Files rendered before prepare, and what it cost to render them.
render_error: Option<String>Why a render failed, when one did. A render failure blocks prepare
the way a failed dependency does: a prepare run against unrendered
config would start a service on the wrong port.
Trait Implementations§
Source§impl Clone for ResourceBindOutcome
impl Clone for ResourceBindOutcome
Source§fn clone(&self) -> ResourceBindOutcome
fn clone(&self) -> ResourceBindOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceBindOutcome
impl Debug for ResourceBindOutcome
impl Eq for ResourceBindOutcome
Source§impl PartialEq for ResourceBindOutcome
impl PartialEq for ResourceBindOutcome
impl StructuralPartialEq for ResourceBindOutcome
Auto Trait Implementations§
impl Freeze for ResourceBindOutcome
impl RefUnwindSafe for ResourceBindOutcome
impl Send for ResourceBindOutcome
impl Sync for ResourceBindOutcome
impl Unpin for ResourceBindOutcome
impl UnsafeUnpin for ResourceBindOutcome
impl UnwindSafe for ResourceBindOutcome
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