pub struct VsockId(/* private fields */);Expand description
Validated vsock ID (the upstream vsock_id field). Regex ^[A-Za-z0-9_]{1,64}$.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VsockId
impl<'de> Deserialize<'de> for VsockId
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 VsockId
impl StructuralPartialEq for VsockId
Auto Trait Implementations§
impl Freeze for VsockId
impl RefUnwindSafe for VsockId
impl Send for VsockId
impl Sync for VsockId
impl Unpin for VsockId
impl UnsafeUnpin for VsockId
impl UnwindSafe for VsockId
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