pub struct CrossRouteAction { /* private fields */ }Expand description
Host-mediated cross-route action preventing component version leakage between routes (Sec 11.2).
Implementations§
Source§impl CrossRouteAction
impl CrossRouteAction
pub fn get_target_route(&self) -> &String
pub fn get_mut_target_route(&mut self) -> &mut String
pub fn set_target_route(&mut self, val: String) -> &mut Self
pub fn get_action_id(&self) -> &String
pub fn get_mut_action_id(&mut self) -> &mut String
pub fn set_action_id(&mut self, val: String) -> &mut Self
pub fn get_payload(&self) -> &Value
pub fn get_mut_payload(&mut self) -> &mut Value
pub fn set_payload(&mut self, val: Value) -> &mut Self
pub fn get_origin_generation(&self) -> u64
pub fn get_mut_origin_generation(&mut self) -> &mut u64
pub fn set_origin_generation(&mut self, val: u64) -> &mut Self
pub fn get_cancellation_token(&self) -> &Arc<AtomicBool> ⓘ
pub fn get_mut_cancellation_token(&mut self) -> &mut Arc<AtomicBool> ⓘ
pub fn set_cancellation_token(&mut self, val: Arc<AtomicBool>) -> &mut Self
Trait Implementations§
Source§impl Clone for CrossRouteAction
impl Clone for CrossRouteAction
Auto Trait Implementations§
impl Forget for CrossRouteAction
impl Freeze for CrossRouteActionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const ArcInner<Atomic<bool>> is !null: Freeze,
PhantomData<ArcInner<Atomic<bool>>>: Freeze,
impl Move for CrossRouteAction
impl RefUnwindSafe for CrossRouteAction
impl Send for CrossRouteAction
impl Sync for CrossRouteAction
impl Unpin for CrossRouteAction
impl UnsafeUnpin for CrossRouteActionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
impl UnwindSafe for CrossRouteAction
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