pub struct UdsPath(/* private fields */);Expand description
Validated UDS path (api_sock, vsock.uds_path, mem_backend.backend_path).
Capped at 103 bytes to fit Darwin’s sockaddr_un.sun_path minus the NUL terminator;
the kernel silently truncates beyond this, so a hard cap surfaces the misconfiguration
as a 4xx instead of a “connection refused” debugging session (70 §
5).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UdsPath
impl<'de> Deserialize<'de> for UdsPath
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UdsPath
impl StructuralPartialEq for UdsPath
Auto Trait Implementations§
impl Freeze for UdsPath
impl RefUnwindSafe for UdsPath
impl Send for UdsPath
impl Sync for UdsPath
impl Unpin for UdsPath
impl UnsafeUnpin for UdsPath
impl UnwindSafe for UdsPath
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