Enum taxy_api::event::ServerEvent
source · pub enum ServerEvent {
AppConfigUpdated {
config: AppConfig,
source: Source,
},
PortTableUpdated {
entries: Vec<PortEntry>,
},
PortStatusUpdated {
id: String,
status: PortStatus,
},
ServerCertsUpdated {
entries: Vec<CertInfo>,
},
SitesUpdated {
entries: Vec<SiteEntry>,
},
AcmeUpdated {
entries: Vec<AcmeInfo>,
},
Shutdown,
}Variants§
AppConfigUpdated
PortTableUpdated
PortStatusUpdated
ServerCertsUpdated
SitesUpdated
AcmeUpdated
Shutdown
Trait Implementations§
source§impl Clone for ServerEvent
impl Clone for ServerEvent
source§fn clone(&self) -> ServerEvent
fn clone(&self) -> ServerEvent
Returns a copy of the value. Read more
1.0.0 · 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 ServerEvent
impl Debug for ServerEvent
source§impl<'de> Deserialize<'de> for ServerEvent
impl<'de> Deserialize<'de> for ServerEvent
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
source§impl Serialize for ServerEvent
impl Serialize for ServerEvent
Auto Trait Implementations§
impl RefUnwindSafe for ServerEvent
impl Send for ServerEvent
impl Sync for ServerEvent
impl Unpin for ServerEvent
impl UnwindSafe for ServerEvent
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