pub struct AttachRecord {
pub ticket: WorkerId,
pub server: Option<ServerId>,
pub language: String,
pub name: String,
pub root: PathBuf,
pub target: Filesystem,
pub outcome: AttachDecision,
pub layers: Vec<LayerDiagnostic>,
}Expand description
The serializable outcome of one attach attempt. Refusals carry
server: None; a spawned (or replayed) server keeps its identity.
Fields§
§ticket: WorkerId§server: Option<ServerId>§language: String§name: String§root: PathBuf§target: Filesystem§outcome: AttachDecision§layers: Vec<LayerDiagnostic>Malformed layer diagnostics met while loading the config layers for this attempt (0033 §2) — reported even when a valid fallback server attached.
Trait Implementations§
Source§impl Clone for AttachRecord
impl Clone for AttachRecord
Source§fn clone(&self) -> AttachRecord
fn clone(&self) -> AttachRecord
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 AttachRecord
impl Debug for AttachRecord
Source§impl<'de> Deserialize<'de> for AttachRecord
impl<'de> Deserialize<'de> for AttachRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AttachRecord
Source§impl PartialEq for AttachRecord
impl PartialEq for AttachRecord
Source§impl Serialize for AttachRecord
impl Serialize for AttachRecord
impl StructuralPartialEq for AttachRecord
Auto Trait Implementations§
impl Freeze for AttachRecord
impl RefUnwindSafe for AttachRecord
impl Send for AttachRecord
impl Sync for AttachRecord
impl Unpin for AttachRecord
impl UnsafeUnpin for AttachRecord
impl UnwindSafe for AttachRecord
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.