pub struct CapabilityRequested { /* private fields */ }
Implementations§
Source§impl CapabilityRequested
impl CapabilityRequested
pub fn result<'a>( &'a self, ) -> Result<&'a CapabilityRequestedPayload, &'a CapabilityRequestedError>
pub fn take_capability<T: ProtocolMarker>(&mut self) -> Option<T::RequestStream>
Trait Implementations§
Source§impl Debug for CapabilityRequested
impl Debug for CapabilityRequested
Source§impl Event for CapabilityRequested
impl Event for CapabilityRequested
const TYPE: EventType = fcomponent::EventType::CapabilityRequested
const NAME: &'static str = "capability_requested"
fn target_moniker(&self) -> &str
fn component_url(&self) -> &str
fn timestamp(&self) -> BootInstant
fn is_ok(&self) -> bool
fn is_err(&self) -> bool
Auto Trait Implementations§
impl Freeze for CapabilityRequested
impl RefUnwindSafe for CapabilityRequested
impl Send for CapabilityRequested
impl Sync for CapabilityRequested
impl Unpin for CapabilityRequested
impl UnwindSafe for CapabilityRequested
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