#[repr(C)]pub struct endpoint {
pub address: string,
pub port: port_t,
}Expand description
An endpoint is where the network will connect to (address and port)
Fields§
§address: stringThe address to connect to
port: port_tThe port to connect to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for endpoint
impl RefUnwindSafe for endpoint
impl Send for endpoint
impl Sync for endpoint
impl Unpin for endpoint
impl UnwindSafe for endpoint
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