pub enum UiUpdate {
Show 25 variants
ConnectStarted,
ConnectFinished(Result<(), String>),
DisconnectStarted,
DisconnectFinished,
ConnectionLost,
Reconnected {
fresh: bool,
},
ReconnectFailed(String),
ChildrenLoaded {
parent: NodeId,
children: Result<Vec<TreeChild>, String>,
},
SummaryLoaded {
node: NodeId,
summary: Result<NodeSummary, String>,
},
ReferencesLoaded {
node: NodeId,
refs: Result<Vec<ReferenceRow>, String>,
},
EndpointsDiscovered {
url: String,
result: Result<Vec<EndpointInfo>, String>,
},
CertPathPicked(String),
KeyPathPicked(String),
FilePickerClosed,
PathReady {
node: NodeId,
path: Result<String, String>,
},
SelectionPathResolved {
url: String,
path: Vec<NodeId>,
},
RestoreSelection(NodeId),
MethodSignatureLoaded {
node: NodeId,
result: Result<MethodSignature, String>,
},
MethodCallFinished {
node: NodeId,
result: Result<MethodCallOutcome, String>,
},
SubscribeFinished {
node: NodeId,
result: Result<String, String>,
},
UnsubscribeFinished {
node: NodeId,
result: Result<(), String>,
},
DataChange {
node: NodeId,
value: String,
status: String,
timestamp: Option<String>,
},
AttributeEditTargetLoaded {
node: NodeId,
attr_name: String,
result: Result<WriteTarget, String>,
},
AttributeWriteFinished {
node: NodeId,
attr_name: String,
result: Result<(), String>,
},
Log(LogLine),
}Variants§
ConnectStarted
ConnectFinished(Result<(), String>)
DisconnectStarted
DisconnectFinished
ConnectionLost
Reconnected
ReconnectFailed(String)
ChildrenLoaded
SummaryLoaded
ReferencesLoaded
EndpointsDiscovered
CertPathPicked(String)
KeyPathPicked(String)
FilePickerClosed
PathReady
SelectionPathResolved
RestoreSelection(NodeId)
MethodSignatureLoaded
MethodCallFinished
SubscribeFinished
UnsubscribeFinished
DataChange
AttributeEditTargetLoaded
AttributeWriteFinished
Log(LogLine)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiUpdate
impl RefUnwindSafe for UiUpdate
impl Send for UiUpdate
impl Sync for UiUpdate
impl Unpin for UiUpdate
impl UnsafeUnpin for UiUpdate
impl UnwindSafe for UiUpdate
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