#[non_exhaustive]pub enum ActiveConnectionStateReason {
Show 15 variants
Unknown,
None,
UserDisconnected,
DeviceDisconnected,
ServiceStopped,
IpConfigInvalid,
ConnectTimeout,
ServiceStartTimeout,
ServiceStartFailed,
NoSecrets,
LoginFailed,
ConnectionRemoved,
DependencyFailed,
DeviceRealizeFailed,
DeviceRemoved,
}v1_8 only.Expand description
Active connection state reasons.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unknown
The reason for the active connection state change is unknown.
None
No reason was given for the active connection state change.
UserDisconnected
The active connection changed state because the user disconnected it.
DeviceDisconnected
The active connection changed state because the device it was using was disconnected.
ServiceStopped
The service providing the VPN connection was stopped.
IpConfigInvalid
The IP config of the active connection was invalid.
ConnectTimeout
The connection attempt to the VPN service timed out.
ServiceStartTimeout
A timeout occurred while starting the service providing the VPN connection.
ServiceStartFailed
Starting the service providing the VPN connection failed.
NoSecrets
Necessary secrets for the connection were not provided.
LoginFailed
Authentication to the server failed.
ConnectionRemoved
The connection was deleted from settings.
DependencyFailed
Master connection of this connection failed to activate.
DeviceRealizeFailed
Could not create the software device link.
DeviceRemoved
The device this connection depended on disappeared.
Trait Implementations§
Source§impl Clone for ActiveConnectionStateReason
impl Clone for ActiveConnectionStateReason
Source§fn clone(&self) -> ActiveConnectionStateReason
fn clone(&self) -> ActiveConnectionStateReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ActiveConnectionStateReason
impl Debug for ActiveConnectionStateReason
Source§impl From<ActiveConnectionStateReason> for Value
impl From<ActiveConnectionStateReason> for Value
Source§fn from(v: ActiveConnectionStateReason) -> Self
fn from(v: ActiveConnectionStateReason) -> Self
Source§impl<'a> FromValue<'a> for ActiveConnectionStateReason
impl<'a> FromValue<'a> for ActiveConnectionStateReason
Source§type Checker = GenericValueTypeChecker<ActiveConnectionStateReason>
type Checker = GenericValueTypeChecker<ActiveConnectionStateReason>
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value. Read moreSource§impl HasParamSpec for ActiveConnectionStateReason
impl HasParamSpec for ActiveConnectionStateReason
type ParamSpec = ParamSpecEnum
Source§type SetValue = ActiveConnectionStateReason
type SetValue = ActiveConnectionStateReason
type BuilderFn = fn(&str, ActiveConnectionStateReason) -> ParamSpecEnumBuilder<'_, ActiveConnectionStateReason>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for ActiveConnectionStateReason
impl Hash for ActiveConnectionStateReason
Source§impl Ord for ActiveConnectionStateReason
impl Ord for ActiveConnectionStateReason
Source§fn cmp(&self, other: &ActiveConnectionStateReason) -> Ordering
fn cmp(&self, other: &ActiveConnectionStateReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for ActiveConnectionStateReason
impl PartialOrd for ActiveConnectionStateReason
Source§impl StaticType for ActiveConnectionStateReason
impl StaticType for ActiveConnectionStateReason
Source§fn static_type() -> Type
fn static_type() -> Type
Self.Source§impl ValueType for ActiveConnectionStateReason
impl ValueType for ActiveConnectionStateReason
Source§type Type = ActiveConnectionStateReason
type Type = ActiveConnectionStateReason
Type from. Read moreimpl Copy for ActiveConnectionStateReason
impl Eq for ActiveConnectionStateReason
impl StructuralPartialEq for ActiveConnectionStateReason
Auto Trait Implementations§
impl Freeze for ActiveConnectionStateReason
impl RefUnwindSafe for ActiveConnectionStateReason
impl Send for ActiveConnectionStateReason
impl Sync for ActiveConnectionStateReason
impl Unpin for ActiveConnectionStateReason
impl UnwindSafe for ActiveConnectionStateReason
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> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue clone of self.