pub struct Config {
pub directory: SocketAddr,
pub relay: SocketAddr,
pub user: String,
pub device: u8,
}Expand description
Where to reach a Tacenta server, and who to connect as.
Fields§
§directory: SocketAddrThe directory service address.
relay: SocketAddrThe relay server address.
user: StringThis client’s user identifier.
device: u8This client’s device number.
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 UnsafeUnpin 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