pub enum SvelteKitAdapter {
Static,
Other(String),
Missing,
}Expand description
Which SvelteKit adapter a project declares in its package.json.
Variants§
Static
@sveltejs/adapter-static: prerendered pages plus an optional SPA
fallback, served as plain files by nginx.
Other(String)
Any other @sveltejs/adapter-* package, e.g. adapter-node or
adapter-auto.
Missing
@sveltejs/kit is present but no adapter package is.
Implementations§
Trait Implementations§
Source§impl Clone for SvelteKitAdapter
impl Clone for SvelteKitAdapter
Source§impl Debug for SvelteKitAdapter
impl Debug for SvelteKitAdapter
impl Eq for SvelteKitAdapter
Source§impl PartialEq for SvelteKitAdapter
impl PartialEq for SvelteKitAdapter
impl StructuralPartialEq for SvelteKitAdapter
Auto Trait Implementations§
impl Freeze for SvelteKitAdapter
impl RefUnwindSafe for SvelteKitAdapter
impl Send for SvelteKitAdapter
impl Sync for SvelteKitAdapter
impl Unpin for SvelteKitAdapter
impl UnsafeUnpin for SvelteKitAdapter
impl UnwindSafe for SvelteKitAdapter
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.