Struct dioxus_fullstack::Config
source · pub struct Config { /* private fields */ }Expand description
Settings for a fullstack app.
Implementations§
source§impl Config
impl Config
sourcepub fn incremental(self, cfg: IncrementalRendererConfig) -> Self
Available on crate feature server only.
pub fn incremental(self, cfg: IncrementalRendererConfig) -> Self
server only.Set the incremental renderer config.
sourcepub fn with_server_cfg(self, server_cfg: ServeConfigBuilder) -> Self
Available on crate feature server only.
pub fn with_server_cfg(self, server_cfg: ServeConfigBuilder) -> Self
server only.Set the server config.
sourcepub fn set_server_cfg(&mut self, server_cfg: ServeConfigBuilder)
Available on crate feature server only.
pub fn set_server_cfg(&mut self, server_cfg: ServeConfigBuilder)
server only.Set the server config.
sourcepub fn with_web_config(self, web_cfg: Config) -> Self
Available on crate feature web only.
pub fn with_web_config(self, web_cfg: Config) -> Self
web only.Set the web config.
sourcepub fn set_web_config(&mut self, web_cfg: Config)
Available on crate feature web only.
pub fn set_web_config(&mut self, web_cfg: Config)
web only.Set the web config.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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> 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<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.