[−][src]Struct new_home_application::application::application::ApplicationConfig
Contains configuration and information about the app Contains the ip and port on which the method server should run
Fields
app_info: ApplicationInfo
The ApplicationInfo
struct which contains all kinds of useful information about the application
ip: String
Contains the IP as a string on which the application should run
port: i16
Contains the Port as an i16 on which the server should listen for new TCP connections
Methods
impl ApplicationConfig
[src]
pub fn new(app_info: ApplicationInfo, ip: String, port: i16) -> Self
[src]
Trait Implementations
impl Clone for ApplicationConfig
[src]
fn clone(&self) -> ApplicationConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for ApplicationConfig
impl Send for ApplicationConfig
impl Sync for ApplicationConfig
impl Unpin for ApplicationConfig
impl UnwindSafe for ApplicationConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,