pub enum OutboundDelegateMsg {
ApplicationMessage(ApplicationMessage),
RequestUserInput(UserInputRequest<'static>),
ContextUpdated(DelegateContext),
GetSecretRequest(GetSecretRequest),
SetSecretRequest(SetSecretRequest),
GetSecretResponse(GetSecretResponse),
}
Variants§
ApplicationMessage(ApplicationMessage)
RequestUserInput(UserInputRequest<'static>)
ContextUpdated(DelegateContext)
GetSecretRequest(GetSecretRequest)
SetSecretRequest(SetSecretRequest)
GetSecretResponse(GetSecretResponse)
Implementations§
Source§impl OutboundDelegateMsg
impl OutboundDelegateMsg
pub fn processed(&self) -> bool
pub fn get_context(&self) -> Option<&DelegateContext>
pub fn get_mut_context(&mut self) -> Option<&mut DelegateContext>
Trait Implementations§
Source§impl Clone for OutboundDelegateMsg
impl Clone for OutboundDelegateMsg
Source§fn clone(&self) -> OutboundDelegateMsg
fn clone(&self) -> OutboundDelegateMsg
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 OutboundDelegateMsg
impl Debug for OutboundDelegateMsg
Source§impl<'de> Deserialize<'de> for OutboundDelegateMsg
impl<'de> Deserialize<'de> for OutboundDelegateMsg
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 From<ApplicationMessage> for OutboundDelegateMsg
impl From<ApplicationMessage> for OutboundDelegateMsg
Source§fn from(req: ApplicationMessage) -> Self
fn from(req: ApplicationMessage) -> Self
Converts to this type from the input type.
Source§impl From<GetSecretRequest> for OutboundDelegateMsg
impl From<GetSecretRequest> for OutboundDelegateMsg
Source§fn from(req: GetSecretRequest) -> Self
fn from(req: GetSecretRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OutboundDelegateMsg
impl RefUnwindSafe for OutboundDelegateMsg
impl Send for OutboundDelegateMsg
impl Sync for OutboundDelegateMsg
impl Unpin for OutboundDelegateMsg
impl UnwindSafe for OutboundDelegateMsg
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