pub struct SocketTarget(/* private fields */);Expand description
A validated socket target path (e.g. /Users/alice/.arcbox/run/docker.sock).
Guarantees:
- Under
/Users/<username>/.arcbox/or/Users/<username>/.arcbox-dev/ - Ends with
.sock(strict lowercase) - No
..path traversal components
Implementations§
Trait Implementations§
Source§impl Clone for SocketTarget
impl Clone for SocketTarget
Source§fn clone(&self) -> SocketTarget
fn clone(&self) -> SocketTarget
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 SocketTarget
impl Debug for SocketTarget
Source§impl Display for SocketTarget
impl Display for SocketTarget
impl Eq for SocketTarget
Source§impl FromStr for SocketTarget
impl FromStr for SocketTarget
Source§impl PartialEq for SocketTarget
impl PartialEq for SocketTarget
impl StructuralPartialEq for SocketTarget
Auto Trait Implementations§
impl Freeze for SocketTarget
impl RefUnwindSafe for SocketTarget
impl Send for SocketTarget
impl Sync for SocketTarget
impl Unpin for SocketTarget
impl UnsafeUnpin for SocketTarget
impl UnwindSafe for SocketTarget
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