pub enum Port {
Short(ShortPort),
Long(Box<LongPort>),
}Expand description
A service port with its authored short or long form retained.
Variants§
Short(ShortPort)
String or numeric scalar short syntax.
Long(Box<LongPort>)
Mapping-based long syntax.
Implementations§
Trait Implementations§
impl Eq for Port
impl StructuralPartialEq for Port
Auto Trait Implementations§
impl Freeze for Port
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnsafeUnpin for Port
impl UnwindSafe for Port
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