Skip to content

Commit b0207a3

Browse files
nightkrTechassi
andauthored
Update crates/stackable-operator/src/commons/networking.rs
Co-authored-by: Techassi <[email protected]>
1 parent 41fd8eb commit b0207a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/stackable-operator/src/commons/networking.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ impl TryFrom<String> for Hostname {
1818
Ok(Hostname(value))
1919
}
2020
}
21+
2122
impl From<Hostname> for String {
2223
fn from(value: Hostname) -> Self {
2324
value.0
2425
}
2526
}
27+
2628
impl Display for Hostname {
2729
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
2830
f.write_str(&self.0)
2931
}
3032
}
33+
3134
impl Deref for Hostname {
3235
type Target = str;
3336

0 commit comments

Comments
 (0)