Struct stellation_bridge::Bridge
source · pub struct Bridge<L> { /* private fields */ }
Expand description
The Bridge.
Implementations§
source§impl<L> Bridge<L>where
L: Link,
impl<L> Bridge<L>where L: Link,
sourcepub fn use_mutation<T>() -> impl Hook<Output = UseBridgedMutationHandle<T, L>>where
T: 'static + BridgedMutation,
L: 'static,
pub fn use_mutation<T>() -> impl Hook<Output = UseBridgedMutationHandle<T, L>>where T: 'static + BridgedMutation, L: 'static,
Bridges a mutation.
sourcepub fn use_query<T>(
input: Rc<T::Input>
) -> impl Hook<Output = SuspensionResult<UseBridgedQueryHandle<T, L>>>where
T: 'static + BridgedQuery,
L: 'static,
pub fn use_query<T>( input: Rc<T::Input> ) -> impl Hook<Output = SuspensionResult<UseBridgedQueryHandle<T, L>>>where T: 'static + BridgedQuery, L: 'static,
Bridges a query.
sourcepub fn use_query_value<T>(
input: Rc<T::Input>
) -> impl Hook<Output = UseBridgedQueryValueHandle<T, L>>where
T: 'static + BridgedQuery,
L: 'static,
pub fn use_query_value<T>( input: Rc<T::Input> ) -> impl Hook<Output = UseBridgedQueryValueHandle<T, L>>where T: 'static + BridgedQuery, L: 'static,
Bridges a query as value.
Note
This hook does not suspend the component and the data is not fetched during SSR. If this hook is used in SSR, this hook will remain as loading state.
Trait Implementations§
source§impl<L> PartialEq<Bridge<L>> for Bridge<L>where
L: Link,
impl<L> PartialEq<Bridge<L>> for Bridge<L>where L: Link,
impl<L> Eq for Bridge<L>where L: Link,
Auto Trait Implementations§
impl<L> RefUnwindSafe for Bridge<L>where L: RefUnwindSafe,
impl<L> Send for Bridge<L>where L: Send,
impl<L> Sync for Bridge<L>where L: Sync,
impl<L> Unpin for Bridge<L>where L: Unpin,
impl<L> UnwindSafe for Bridge<L>where L: UnwindSafe,
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.