pub struct Options {
pub proxy: SocketAddr,
pub local: SocketAddr,
pub local_ssl: Option<SocketAddr>,
pub token: u128,
pub redirect_ssl: bool,
pub serve_files: bool,
pub files_index: bool,
pub quic: bool,
pub consts: Consts,
}Fields§
§proxy: SocketAddr§local: SocketAddr§local_ssl: Option<SocketAddr>§token: u128§redirect_ssl: bool§serve_files: bool§files_index: bool§quic: bool§consts: ConstsAuto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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