pub enum AdminSseEvent {
Show 17 variants
HostUpdated {
id: Uuid,
},
HostCreated {
id: Uuid,
},
HostDeleted {
id: Uuid,
},
ServiceStatusChanged {
id: Uuid,
status: String,
},
SoftwareItemUpdated {
id: Uuid,
},
SoftwareItemCreated {
id: Uuid,
},
VersionCheckCompleted {
host_id: Uuid,
software_item_id: Uuid,
},
UpdateTriggered {
update_history_id: Uuid,
host_id: Uuid,
software_item_id: Uuid,
status: String,
},
UpdateStarted {
update_history_id: Uuid,
host_id: Uuid,
software_item_id: Uuid,
interactive: bool,
},
UpdateCompleted {
update_history_id: Uuid,
host_id: Uuid,
software_item_id: Uuid,
status: String,
},
DiscoveryCompleted {
host_id: Uuid,
},
HostPackagesChanged {
host_id: Uuid,
},
BatchHostPackageUpdateCompleted {
host_id: Uuid,
},
SystemServiceStatusChanged {
id: Uuid,
status: String,
},
SchedulerTaskCompleted {
task_id: Uuid,
},
DataReset,
Unknown {
event_type: String,
data: String,
},
}Expand description
A typed SSE event from the admin events stream.
Mirrors AdminEvent variants
with an additional Unknown catch-all for forward
compatibility when the server emits new event types.
Variants§
HostUpdated
A host’s metadata was updated.
HostCreated
A new host was created.
HostDeleted
A host was deactivated / deleted.
ServiceStatusChanged
A service’s status changed.
SoftwareItemUpdated
A software item was updated.
SoftwareItemCreated
A new software item was created.
VersionCheckCompleted
A version check completed for a host + software item pair.
UpdateTriggered
A software update was created and dispatched to the agent.
Fields
UpdateStarted
A software update started executing.
Fields
UpdateCompleted
A software update completed.
DiscoveryCompleted
Autodiscovery completed for a host.
HostPackagesChanged
Host packages changed.
BatchHostPackageUpdateCompleted
A batch host package update completed.
SystemServiceStatusChanged
A system service’s status changed.
SchedulerTaskCompleted
A scheduled task completed execution.
DataReset
All tenant data was reset.
Unknown
An unrecognised event type from a newer server version.
Trait Implementations§
Source§impl Clone for AdminSseEvent
impl Clone for AdminSseEvent
Source§fn clone(&self) -> AdminSseEvent
fn clone(&self) -> AdminSseEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AdminSseEvent
impl RefUnwindSafe for AdminSseEvent
impl Send for AdminSseEvent
impl Sync for AdminSseEvent
impl Unpin for AdminSseEvent
impl UnsafeUnpin for AdminSseEvent
impl UnwindSafe for AdminSseEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more