#[repr(C)]pub struct WslcContainerPortMapping {
pub windows_port: u16,
pub container_port: u16,
pub protocol: WslcPortProtocol,
pub windows_address: *mut SOCKADDR_STORAGE,
}Expand description
容器端口映射配置
Fields§
§windows_port: u16§container_port: u16§protocol: WslcPortProtocol§windows_address: *mut SOCKADDR_STORAGETrait Implementations§
Source§impl Clone for WslcContainerPortMapping
impl Clone for WslcContainerPortMapping
impl Copy for WslcContainerPortMapping
Auto Trait Implementations§
impl !Send for WslcContainerPortMapping
impl !Sync for WslcContainerPortMapping
impl Freeze for WslcContainerPortMapping
impl RefUnwindSafe for WslcContainerPortMapping
impl Unpin for WslcContainerPortMapping
impl UnsafeUnpin for WslcContainerPortMapping
impl UnwindSafe for WslcContainerPortMapping
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