StatusMinor

Enum StatusMinor 

Source
#[repr(u32)]
pub enum StatusMinor {
Show 30 variants Unset = 0, CfgError = 1, CfgOk = 2, CfgInlineMissing = 3, CfgRequireUser = 4, ConnInit = 5, ConnConnecting = 6, ConnConnected = 7, ConnDisconnecting = 8, ConnDisconnected = 9, ConnFailed = 10, ConnAuthFailed = 11, ConnReconnecting = 12, ConnPausing = 13, ConnPaused = 14, ConnResuming = 15, ConnDone = 16, SessNew = 17, SessBackendCompleted = 18, SessRemoved = 19, SessAuthUserpass = 20, SessAuthChallenge = 21, SessAuthUrl = 22, PKCS11Sign = 23, PKCS11Encrypt = 24, PKCS11Decrypt = 25, PKCS11Verify = 26, ProcStarted = 27, ProcStopped = 28, ProcKilled = 29,
}
Expand description

Status Minor

Source: openvpn3-linux/src/dbus/constants.hpp

Variants§

§

Unset = 0

An invalid result code, used for initialization

§

CfgError = 1

Failed parsing configuration

§

CfgOk = 2

Configuration file parsed successfully

§

CfgInlineMissing = 3

Some embedded (inline) files are missing

§

CfgRequireUser = 4

Require input from user

§

ConnInit = 5

Client connection initialized, ready to connect

§

ConnConnecting = 6

Client started connecting

§

ConnConnected = 7

Client have connected successfully

§

ConnDisconnecting = 8

Client started disconnect process

§

ConnDisconnected = 9

Client completed disconnecting

§

ConnFailed = 10

Client connection failed, disconnected

§

ConnAuthFailed = 11

Client authentication failed, disconnected

§

ConnReconnecting = 12

Client needed to reconnect

§

ConnPausing = 13

Client started to pause the connection

§

ConnPaused = 14

Client connection is paused

§

ConnResuming = 15

Client connection is resuming

§

ConnDone = 16

Client connection process have completed and exited successfully

§

SessNew = 17

New session object created

§

SessBackendCompleted = 18

Backend session object have completed its task

§

SessRemoved = 19

Session object removed

§

SessAuthUserpass = 20

User/password authentication needed

§

SessAuthChallenge = 21

Challenge/response authentication needed

§

SessAuthUrl = 22

Authentication needed via external URL

§

PKCS11Sign = 23

PKCS#11 sign operation required

§

PKCS11Encrypt = 24

PKCS#11 encryption operation required

§

PKCS11Decrypt = 25

PKCS#11 decryption operation required

§

PKCS11Verify = 26

PKCS#11 verification operation required

§

ProcStarted = 27

Successfully started a new process

§

ProcStopped = 28

A process of ours stopped as expected

§

ProcKilled = 29

A process of ours stopped unexpectedly

Trait Implementations§

Source§

impl Clone for StatusMinor

Source§

fn clone(&self) -> StatusMinor

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StatusMinor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for StatusMinor

Source§

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 Display for StatusMinor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for StatusMinor

Source§

fn eq(&self, other: &StatusMinor) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for StatusMinor

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<OwnedValue> for StatusMinor

Source§

type Error = <u32 as TryFrom<OwnedValue>>::Error

The type returned in the event of a conversion error.
Source§

fn try_from(v: OwnedValue) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Type for StatusMinor

Source§

fn signature() -> Signature<'static>

Get the signature for the implementing type. Read more
Source§

impl Copy for StatusMinor

Source§

impl Eq for StatusMinor

Source§

impl StructuralPartialEq for StatusMinor

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<'de, T> DynamicDeserialize<'de> for T
where T: Type + Deserialize<'de> + ?Sized,

Source§

type Deserializer = PhantomData<T>

A DeserializeSeed implementation for this type.
Source§

fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
where S: TryInto<Signature<'de>>, <S as TryInto<Signature<'de>>>::Error: Into<Error>,

Get a deserializer compatible with this signature.
Source§

impl<T> DynamicType for T
where T: Type + ?Sized,

Source§

fn dynamic_signature(&self) -> Signature<'_>

Get the signature for the implementing type. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,