pub struct SamConfig {
pub tcp_port: u16,
pub udp_port: u16,
pub host: String,
}Expand description
SAMv3 configuration.
Fields§
§tcp_port: u16SAMv3 TCP server listen port.
udp_port: u16SAMv3 UDP server listen port.
host: StringHost where the SAM server shoud be bound to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SamConfig
impl RefUnwindSafe for SamConfig
impl Send for SamConfig
impl Sync for SamConfig
impl Unpin for SamConfig
impl UnwindSafe for SamConfig
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