pub struct RegistrationState {
pub node: NodeId,
pub path: String,
pub source: DiagnosticSource,
pub state: String,
}Expand description
One hop of the registration chain that reached the failing face. 抵达失败注册面所经注册链上的一跳。
Fields§
§node: NodeIdIdentity of the face registered at this hop. 该跳注册的注册面身份。
path: StringLogical registry path of this hop. 该跳的逻辑注册表路径。
source: DiagnosticSourceDeclaration source this hop was registered from. 该跳注册自的声明源码位置。
state: StringFree-form snapshot of what this hop held when the chain was built. 构建该链时这一跳所持状态的自由文本快照。
Trait Implementations§
Source§impl Clone for RegistrationState
impl Clone for RegistrationState
Source§fn clone(&self) -> RegistrationState
fn clone(&self) -> RegistrationState
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 moreAuto Trait Implementations§
impl Freeze for RegistrationState
impl RefUnwindSafe for RegistrationState
impl Send for RegistrationState
impl Sync for RegistrationState
impl Unpin for RegistrationState
impl UnsafeUnpin for RegistrationState
impl UnwindSafe for RegistrationState
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