pub struct SocketsCap {}Expand description
Parameters for the wasi:sockets capability.
Trait Implementations§
Source§impl Clone for SocketsCap
impl Clone for SocketsCap
Source§fn clone(&self) -> SocketsCap
fn clone(&self) -> SocketsCap
Returns a duplicate of the value. Read more
1.0.0 · 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 SocketsCap
impl Debug for SocketsCap
Source§impl Default for SocketsCap
impl Default for SocketsCap
Source§fn default() -> SocketsCap
fn default() -> SocketsCap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SocketsCap
impl<'de> Deserialize<'de> for SocketsCap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SocketsCap
impl Serialize for SocketsCap
impl Copy for SocketsCap
Auto Trait Implementations§
impl Freeze for SocketsCap
impl RefUnwindSafe for SocketsCap
impl Send for SocketsCap
impl Sync for SocketsCap
impl Unpin for SocketsCap
impl UnsafeUnpin for SocketsCap
impl UnwindSafe for SocketsCap
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