pub struct IntentRegistry { /* private fields */ }Expand description
In-process intent registry for the current session.
Implementations§
Source§impl IntentRegistry
impl IntentRegistry
pub fn new() -> Self
pub fn declare(&mut self, params: IntentDeclareParams) -> IntentDeclareResult
pub fn revoke(&mut self, id: &str) -> Option<IntentRevokeResult>
pub fn list(&self, filter: Option<&str>) -> IntentListResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IntentRegistry
impl RefUnwindSafe for IntentRegistry
impl Send for IntentRegistry
impl Sync for IntentRegistry
impl Unpin for IntentRegistry
impl UnsafeUnpin for IntentRegistry
impl UnwindSafe for IntentRegistry
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