pub enum InboundComponentMsg<'a> {
ApplicationMessage(ApplicationMessage),
GetSecretResponse(GetSecretResponse),
RandomBytes(Vec<u8>),
UserResponse(UserInputResponse<'a>),
}Variants§
ApplicationMessage(ApplicationMessage)
GetSecretResponse(GetSecretResponse)
RandomBytes(Vec<u8>)
UserResponse(UserInputResponse<'a>)
Implementations§
Source§impl InboundComponentMsg<'_>
impl InboundComponentMsg<'_>
pub fn into_owned(self) -> InboundComponentMsg<'static>
pub fn get_context(&self) -> Option<&ComponentContext>
pub fn get_mut_context(&mut self) -> Option<&mut ComponentContext>
Trait Implementations§
Source§impl<'a> Clone for InboundComponentMsg<'a>
impl<'a> Clone for InboundComponentMsg<'a>
Source§fn clone(&self) -> InboundComponentMsg<'a>
fn clone(&self) -> InboundComponentMsg<'a>
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<'a> Debug for InboundComponentMsg<'a>
impl<'a> Debug for InboundComponentMsg<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for InboundComponentMsg<'a>
impl<'de: 'a, 'a> Deserialize<'de> for InboundComponentMsg<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for InboundComponentMsg<'a>
impl<'a> RefUnwindSafe for InboundComponentMsg<'a>
impl<'a> Send for InboundComponentMsg<'a>
impl<'a> Sync for InboundComponentMsg<'a>
impl<'a> Unpin for InboundComponentMsg<'a>
impl<'a> UnwindSafe for InboundComponentMsg<'a>
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