Expand description
Utilities for communicating between the server and the client with Leptos.
Re-exports§
pub use codee;
Structs§
- ArcLocal
Resource - A reference-counted resource that only loads its data locally on the client.
- ArcOnce
Resource - A reference-counted resource that only loads once.
- ArcResource
- A reference-counted asynchronous resource.
- ArcServer
Action - An
ArcActionthat can be used to call a server function. - ArcServer
Multi Action - An
ArcMultiActionthat can be used to call a server function. - Local
Resource - A resource that only loads its data locally on the client.
- Once
Resource - A resource that only loads once.
- Once
Resource Future - A
Futurethat is ready when anArcAsyncDerivedis finished loading or reloading, and contains its value..awaiting this clones the valueT. - Resource
- An asynchronous resource.
- Server
Action - An
Actionthat can be used to call a server function. - Server
Action Error - An error that can be caused by a server action.
- Server
Multi Action - A
MultiActionthat can be used to call a server function. - Shared
Value - A smart pointer that allows you to share identical, synchronously-loaded data between the server and the client.
- Suppress
Resource Load - Used to prevent resources from actually loading, in environments (like server route generation) where they are not needed.
Traits§
- From
Encoded Str - Decodes data from a string.
- Into
Encoded String - Encodes data into a string.