pub enum ManagementEvent {
Response(OvpnMessage),
Notification(Notification),
}Expand description
A management-interface event, categorized as either a command response or an asynchronous notification.
Variants§
Response(OvpnMessage)
A command response: OvpnMessage::Success, OvpnMessage::Error,
OvpnMessage::MultiLine, OvpnMessage::Pkcs11IdEntry,
OvpnMessage::Info, OvpnMessage::PasswordPrompt, or
OvpnMessage::Unrecognized.
Notification(Notification)
A real-time notification from the daemon.
Trait Implementations§
Source§impl Clone for ManagementEvent
impl Clone for ManagementEvent
Source§fn clone(&self) -> ManagementEvent
fn clone(&self) -> ManagementEvent
Returns a duplicate 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 ManagementEvent
impl Debug for ManagementEvent
Source§impl From<OvpnMessage> for ManagementEvent
impl From<OvpnMessage> for ManagementEvent
Source§fn from(msg: OvpnMessage) -> Self
fn from(msg: OvpnMessage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ManagementEvent
impl PartialEq for ManagementEvent
impl Eq for ManagementEvent
impl StructuralPartialEq for ManagementEvent
Auto Trait Implementations§
impl Freeze for ManagementEvent
impl RefUnwindSafe for ManagementEvent
impl Send for ManagementEvent
impl Sync for ManagementEvent
impl Unpin for ManagementEvent
impl UnsafeUnpin for ManagementEvent
impl UnwindSafe for ManagementEvent
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