pub struct PortConflict {
pub port: u16,
pub attribution: String,
}Expand description
A host port already held by something that is NOT this rig’s own project (same-project occupants are recreate-safe).
Fields§
§port: u16The contested host port.
attribution: StringWho holds it: container <name> (rig <project>) /
container <name> (no compose project) /
host process <name> (pid <pid>).
Trait Implementations§
Source§impl Clone for PortConflict
impl Clone for PortConflict
Source§fn clone(&self) -> PortConflict
fn clone(&self) -> PortConflict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PortConflict
impl Debug for PortConflict
Source§impl PartialEq for PortConflict
impl PartialEq for PortConflict
Source§impl Serialize for PortConflict
impl Serialize for PortConflict
impl StructuralPartialEq for PortConflict
Auto Trait Implementations§
impl Freeze for PortConflict
impl RefUnwindSafe for PortConflict
impl Send for PortConflict
impl Sync for PortConflict
impl Unpin for PortConflict
impl UnsafeUnpin for PortConflict
impl UnwindSafe for PortConflict
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