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