Enum wasmedge_wasi_socket::socket::AiProtocol
source · #[repr(align(1), u8)]pub enum AiProtocol {
IPProtoIP = 0,
IPProtoTCP = 1,
IPProtoUDP = 2,
}
Variants§
Trait Implementations§
source§impl Clone for AiProtocol
impl Clone for AiProtocol
source§fn clone(&self) -> AiProtocol
fn clone(&self) -> AiProtocol
Returns a copy 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 AiProtocol
impl Debug for AiProtocol
impl Copy for AiProtocol
Auto Trait Implementations§
impl RefUnwindSafe for AiProtocol
impl Send for AiProtocol
impl Sync for AiProtocol
impl Unpin for AiProtocol
impl UnwindSafe for AiProtocol
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