pub struct RuntimeState {
pub config: Config,
pub secret: String,
pub trusted_cidrs: Vec<(IpNet, String)>,
pub routes: Vec<CompiledRoute>,
pub login_page_html: Arc<String>,
pub login_page_len: Arc<String>,
}Fields§
§config: Config§secret: String§trusted_cidrs: Vec<(IpNet, String)>§routes: Vec<CompiledRoute>§login_page_html: Arc<String>§login_page_len: Arc<String>Auto Trait Implementations§
impl Freeze for RuntimeState
impl RefUnwindSafe for RuntimeState
impl Send for RuntimeState
impl Sync for RuntimeState
impl Unpin for RuntimeState
impl UnwindSafe for RuntimeState
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