Crate leptos_server

Source
Expand description

Utilities for communicating between the server and the client with Leptos.

Structs§

ArcLocalResource
A reference-counted resource that only loads its data locally on the client.
ArcOnceResource
A reference-counted resource that only loads once.
ArcResource
A reference-counted asynchronous resource.
ArcServerAction
An ArcAction that can be used to call a server function.
ArcServerMultiAction
An ArcMultiAction that can be used to call a server function.
LocalResource
A resource that only loads its data locally on the client.
OnceResource
A resource that only loads once.
OnceResourceFuture
A Future that is ready when an ArcAsyncDerived is finished loading or reloading, and contains its value. .awaiting this clones the value T.
Resource
An asynchronous resource.
ServerAction
An Action that can be used to call a server function.
ServerActionError
An error that can be caused by a server action.
ServerMultiAction
A MultiAction that can be used to call a server function.
SharedValue
A smart pointer that allows you to share identical, synchronously-loaded data between the server and the client.
SuppressResourceLoad
Used to prevent resources from actually loading, in environments (like server route generation) where they are not needed.

Traits§

FromEncodedStr
Decodes data from a string.
IntoEncodedString
Encodes data into a string.