pub enum HelperServiceResponse {
Show 13 variants
RouteAdd(Result<(), String>),
RouteRemove(Result<(), String>),
DnsInstall(Result<(), String>),
DnsUninstall(Result<(), String>),
DnsStatus(Result<bool, String>),
SocketLink(Result<(), String>),
SocketUnlink(Result<(), String>),
CliLink(Result<(), String>),
CliUnlink(Result<(), String>),
Version(String),
HostsAliasInstall(Result<(), String>),
HostsAliasUninstall(Result<(), String>),
HostsAliasStatus(Result<bool, String>),
}Expand description
The response sent over the wire from the server to the client.
Variants§
RouteAdd(Result<(), String>)
RouteRemove(Result<(), String>)
DnsInstall(Result<(), String>)
DnsUninstall(Result<(), String>)
DnsStatus(Result<bool, String>)
SocketLink(Result<(), String>)
SocketUnlink(Result<(), String>)
CliLink(Result<(), String>)
CliUnlink(Result<(), String>)
Version(String)
HostsAliasInstall(Result<(), String>)
HostsAliasUninstall(Result<(), String>)
HostsAliasStatus(Result<bool, String>)
Trait Implementations§
Source§impl Debug for HelperServiceResponse
impl Debug for HelperServiceResponse
Source§impl<'de> Deserialize<'de> for HelperServiceResponse
impl<'de> Deserialize<'de> for HelperServiceResponse
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
Auto Trait Implementations§
impl Freeze for HelperServiceResponse
impl RefUnwindSafe for HelperServiceResponse
impl Send for HelperServiceResponse
impl Sync for HelperServiceResponse
impl Unpin for HelperServiceResponse
impl UnsafeUnpin for HelperServiceResponse
impl UnwindSafe for HelperServiceResponse
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