Enum wasmer_wasix_types::wasi::SockProto

source ·
#[repr(u16)]
pub enum SockProto {
Show 264 variants Ip = 0, Icmp = 1, Igmp = 2, ProtoThree = 3, Ipip = 4, ProtoFive = 5, Tcp = 6, ProtoSeven = 7, Egp = 8, ProtoNine = 9, ProtoTen = 10, ProtoEleven = 11, Pup = 12, ProtoThirteen = 13, ProtoFourteen = 14, ProtoFifteen = 15, ProtoSixteen = 16, Udp = 17, ProtoEighteen = 18, ProtoNineteen = 19, ProtoTwenty = 20, ProtoTwentyone = 21, Idp = 22, ProtoTwentythree = 23, ProtoTwentyfour = 24, ProtoTwentyfive = 25, ProtoTwentysix = 26, ProtoTwentyseven = 27, ProtoTwentyeight = 28, ProtoTp = 29, ProtoThirty = 30, ProtoThirtyone = 31, ProtoThirtytwo = 32, Dccp = 33, ProtoThirtyfour = 34, ProtoThirtyfive = 35, ProtoThirtysix = 36, ProtoThirtyseven = 37, ProtoThirtyeight = 38, ProtoThirtynine = 39, ProtoFourty = 40, Ipv6 = 41, ProtoFourtytwo = 42, Routing = 43, Fragment = 44, ProtoFourtyfive = 45, Rsvp = 46, Gre = 47, ProtoFourtyeight = 48, ProtoFourtynine = 49, Esp = 50, Ah = 51, ProtoFiftytwo = 52, ProtoFiftythree = 53, ProtoFiftyfour = 54, ProtoFiftyfive = 55, ProtoFiftysix = 56, ProtoFiftyseven = 57, Icmpv6 = 58, None = 59, Dstopts = 60, ProtoSixtyone = 61, ProtoSixtytwo = 62, ProtoSixtythree = 63, ProtoSixtyfour = 64, ProtoSixtyfive = 65, ProtoSixtysix = 66, ProtoSixtyseven = 67, ProtoSixtyeight = 68, ProtoSixtynine = 69, ProtoSeventy = 70, ProtoSeventyone = 71, ProtoSeventytwo = 72, ProtoSeventythree = 73, ProtoSeventyfour = 74, ProtoSeventyfive = 75, ProtoSeventysix = 76, ProtoSeventyseven = 77, ProtoSeventyeight = 78, ProtoSeventynine = 79, ProtoEighty = 80, ProtoEightyone = 81, ProtoEightytwo = 82, ProtoEightythree = 83, ProtoEightyfour = 84, ProtoEightyfive = 85, ProtoEightysix = 86, ProtoEightyseven = 87, ProtoEightyeight = 88, ProtoEightynine = 89, ProtoNinety = 90, ProtoNinetyone = 91, Mtp = 92, ProtoNinetythree = 93, Beetph = 94, ProtoNinetyfive = 95, ProtoNinetysix = 96, ProtoNineetyseven = 97, Encap = 98, ProtoNinetynine = 99, ProtoOnehundred = 100, ProtoOnehundredandone = 101, ProtoOnehundredandtwo = 102, Pim = 103, ProtoOnehundredandfour = 104, ProtoOnehundredandfive = 105, ProtoOnehundredandsix = 106, ProtoOnehundredandseven = 107, Comp = 108, ProtoOnehundredandnine = 109, ProtoOnehundredandten = 110, ProtoOnehundredandeleven = 111, ProtoOnehundredandtwelve = 112, ProtoOnehundredandthirteen = 113, ProtoOnehundredandfourteen = 114, ProtoOnehundredandfifteen = 115, ProtoOnehundredandsixteen = 116, ProtoOnehundredandseventeen = 117, ProtoOnehundredandeighteen = 118, ProtoOnehundredandnineteen = 119, ProtoOnehundredandtwenty = 120, ProtoOnehundredandtwentyone = 121, ProtoOnehundredandtwentytwo = 122, ProtoOnehundredandtwentythree = 123, ProtoOnehundredandtwentyfour = 124, ProtoOnehundredandtwentyfive = 125, ProtoOnehundredandtwentysix = 126, ProtoOnehundredandtwentyseven = 127, ProtoOnehundredandtwentyeight = 128, ProtoOnehundredandtwentynine = 129, ProtoOnehundredandthirty = 130, ProtoOnehundredandthirtyone = 131, Sctp = 132, ProtoOnehundredandthirtythree = 133, ProtoOnehundredandthirtyfour = 134, Mh = 135, Udplite = 136, Mpls = 137, ProtoOnehundredandthirtyeight = 138, ProtoOnehundredandthirtynine = 139, ProtoOnehundredandfourty = 140, ProtoOnehundredandfourtyone = 141, ProtoOnehundredandfourtytwo = 142, Ethernet = 143, ProtoOnehundredandfourtyfour = 144, ProtoOnehundredandfourtyfive = 145, ProtoOnehundredandfourtysix = 146, ProtoOnehundredandfourtyseven = 147, ProtoOnehundredandfourtyeight = 148, ProtoOnehundredandfourtynine = 149, ProtoOnehundredandfifty = 150, ProtoOnehundredandfiftyone = 151, ProtoOnehundredandfiftytwo = 152, ProtoOnehundredandfiftythree = 153, ProtoOnehundredandfiftyfour = 154, ProtoOnehundredandfiftyfive = 155, ProtoOnehundredandfiftysix = 156, ProtoOnehundredandfiftyseven = 157, ProtoOnehundredandfiftyeight = 158, ProtoOnehundredandfiftynine = 159, ProtoOnehundredandsixty = 160, ProtoOnehundredandsixtyone = 161, ProtoOnehundredandsixtytwo = 162, ProtoOnehundredandsixtythree = 163, ProtoOnehundredandsixtyfour = 164, ProtoOnehundredandsixtyfive = 165, ProtoOnehundredandsixtysix = 166, ProtoOnehundredandsixtyseven = 167, ProtoOnehundredandsixtyeight = 168, ProtoOnehundredandsixtynine = 169, ProtoOnehundredandseventy = 170, ProtoOnehundredandseventyone = 171, ProtoOnehundredandseventytwo = 172, ProtoOnehundredandseventythree = 173, ProtoOnehundredandseventyfour = 174, ProtoOnehundredandseventyfive = 175, ProtoOnehundredandseventysix = 176, ProtoOnehundredandseventyseven = 177, ProtoOnehundredandseventyeight = 178, ProtoOnehundredandseventynine = 179, ProtoOnehundredandeighty = 180, ProtoOnehundredandeightyone = 181, ProtoOnehundredandeightytwo = 182, ProtoOnehundredandeightythree = 183, ProtoOnehundredandeightyfour = 184, ProtoOnehundredandeightyfive = 185, ProtoOnehundredandeightysix = 186, ProtoOnehundredandeightyseven = 187, ProtoOnehundredandeightyeight = 188, ProtoOnehundredandeightynine = 189, ProtoOnehundredandninety = 190, ProtoOnehundredandninetyone = 191, ProtoOnehundredandninetytwo = 192, ProtoOnehundredandninetythree = 193, ProtoOnehundredandninetyfour = 194, ProtoOnehundredandninetyfive = 195, ProtoOnehundredandninetysix = 196, ProtoOnehundredandninetyseven = 197, ProtoOnehundredandninetyeight = 198, ProtoOnehundredandninetynine = 199, ProtoTwohundred = 200, ProtoTwohundredandone = 201, ProtoTwohundredandtwo = 202, ProtoTwohundredandthree = 203, ProtoTwohundredandfour = 204, ProtoTwohundredandfive = 205, ProtoTwohundredandsix = 206, ProtoTwohundredandseven = 207, ProtoTwohundredandeight = 208, ProtoTwohundredandnine = 209, ProtoTwohundredandten = 210, ProtoTwohundredandeleven = 211, ProtoTwohundredandtwelve = 212, ProtoTwohundredandthirteen = 213, ProtoTwohundredandfourteen = 214, ProtoTwohundredandfifteen = 215, ProtoTwohundredandsixteen = 216, ProtoTwohundredandseventeen = 217, ProtoTwohundredandeighteen = 218, ProtoTwohundredandnineteen = 219, ProtoTwohundredandtwenty = 220, ProtoTwohundredandtwentyone = 221, ProtoTwohundredandtwentytwo = 222, ProtoTwohundredandtwentythree = 223, ProtoTwohundredandtwentyfour = 224, ProtoTwohundredandtwentyfive = 225, ProtoTwohundredandtwentysix = 226, ProtoTwohundredandtwentyseven = 227, ProtoTwohundredandtwentyeight = 228, ProtoTwohundredandtwentynine = 229, ProtoTwohundredandthirty = 230, ProtoTwohundredandthirtyone = 231, ProtoTwohundredandthirtytwo = 232, ProtoTwohundredandthirtythree = 233, ProtoTwohundredandthirtyfour = 234, ProtoTwohundredandthirtyfive = 235, ProtoTwohundredandthirtysix = 236, ProtoTwohundredandthirtyseven = 237, ProtoTwohundredandthirtyeight = 238, ProtoTwohundredandthirtynine = 239, ProtoTwohundredandfourty = 240, ProtoTwohundredandfourtyone = 241, ProtoTwohundredandfourtytwo = 242, ProtoTwohundredandfourtythree = 243, ProtoTwohundredandfourtyfour = 244, ProtoTwohundredandfourtyfive = 245, ProtoTwohundredandfourtysix = 246, ProtoTwohundredandfourtyseven = 247, ProtoTwohundredandfourtyeight = 248, ProtoTwohundredandfourtynine = 249, ProtoTwohundredandfifty = 250, ProtoTwohundredandfiftyone = 251, ProtoTwohundredandfiftytwo = 252, ProtoTwohundredandfiftythree = 253, ProtoTwohundredandfiftyfour = 254, ProtoRaw = 255, ProtoTwohundredandfiftysix = 256, ProtoTwohundredandfiftyseven = 257, ProtoTwohundredandfiftyeight = 258, ProtoTwohundredandfiftynine = 259, ProtoTwohundredandsixty = 260, ProtoTwohundredandsixtyone = 261, Mptcp = 262, Max = 263,
}

Variants§

§

Ip = 0

§

Icmp = 1

§

Igmp = 2

§

ProtoThree = 3

§

Ipip = 4

§

ProtoFive = 5

§

Tcp = 6

§

ProtoSeven = 7

§

Egp = 8

§

ProtoNine = 9

§

ProtoTen = 10

§

ProtoEleven = 11

§

Pup = 12

§

ProtoThirteen = 13

§

ProtoFourteen = 14

§

ProtoFifteen = 15

§

ProtoSixteen = 16

§

Udp = 17

§

ProtoEighteen = 18

§

ProtoNineteen = 19

§

ProtoTwenty = 20

§

ProtoTwentyone = 21

§

Idp = 22

§

ProtoTwentythree = 23

§

ProtoTwentyfour = 24

§

ProtoTwentyfive = 25

§

ProtoTwentysix = 26

§

ProtoTwentyseven = 27

§

ProtoTwentyeight = 28

§

ProtoTp = 29

§

ProtoThirty = 30

§

ProtoThirtyone = 31

§

ProtoThirtytwo = 32

§

Dccp = 33

§

ProtoThirtyfour = 34

§

ProtoThirtyfive = 35

§

ProtoThirtysix = 36

§

ProtoThirtyseven = 37

§

ProtoThirtyeight = 38

§

ProtoThirtynine = 39

§

ProtoFourty = 40

§

Ipv6 = 41

§

ProtoFourtytwo = 42

§

Routing = 43

§

Fragment = 44

§

ProtoFourtyfive = 45

§

Rsvp = 46

§

Gre = 47

§

ProtoFourtyeight = 48

§

ProtoFourtynine = 49

§

Esp = 50

§

Ah = 51

§

ProtoFiftytwo = 52

§

ProtoFiftythree = 53

§

ProtoFiftyfour = 54

§

ProtoFiftyfive = 55

§

ProtoFiftysix = 56

§

ProtoFiftyseven = 57

§

Icmpv6 = 58

§

None = 59

§

Dstopts = 60

§

ProtoSixtyone = 61

§

ProtoSixtytwo = 62

§

ProtoSixtythree = 63

§

ProtoSixtyfour = 64

§

ProtoSixtyfive = 65

§

ProtoSixtysix = 66

§

ProtoSixtyseven = 67

§

ProtoSixtyeight = 68

§

ProtoSixtynine = 69

§

ProtoSeventy = 70

§

ProtoSeventyone = 71

§

ProtoSeventytwo = 72

§

ProtoSeventythree = 73

§

ProtoSeventyfour = 74

§

ProtoSeventyfive = 75

§

ProtoSeventysix = 76

§

ProtoSeventyseven = 77

§

ProtoSeventyeight = 78

§

ProtoSeventynine = 79

§

ProtoEighty = 80

§

ProtoEightyone = 81

§

ProtoEightytwo = 82

§

ProtoEightythree = 83

§

ProtoEightyfour = 84

§

ProtoEightyfive = 85

§

ProtoEightysix = 86

§

ProtoEightyseven = 87

§

ProtoEightyeight = 88

§

ProtoEightynine = 89

§

ProtoNinety = 90

§

ProtoNinetyone = 91

§

Mtp = 92

§

ProtoNinetythree = 93

§

Beetph = 94

§

ProtoNinetyfive = 95

§

ProtoNinetysix = 96

§

ProtoNineetyseven = 97

§

Encap = 98

§

ProtoNinetynine = 99

§

ProtoOnehundred = 100

§

ProtoOnehundredandone = 101

§

ProtoOnehundredandtwo = 102

§

Pim = 103

§

ProtoOnehundredandfour = 104

§

ProtoOnehundredandfive = 105

§

ProtoOnehundredandsix = 106

§

ProtoOnehundredandseven = 107

§

Comp = 108

§

ProtoOnehundredandnine = 109

§

ProtoOnehundredandten = 110

§

ProtoOnehundredandeleven = 111

§

ProtoOnehundredandtwelve = 112

§

ProtoOnehundredandthirteen = 113

§

ProtoOnehundredandfourteen = 114

§

ProtoOnehundredandfifteen = 115

§

ProtoOnehundredandsixteen = 116

§

ProtoOnehundredandseventeen = 117

§

ProtoOnehundredandeighteen = 118

§

ProtoOnehundredandnineteen = 119

§

ProtoOnehundredandtwenty = 120

§

ProtoOnehundredandtwentyone = 121

§

ProtoOnehundredandtwentytwo = 122

§

ProtoOnehundredandtwentythree = 123

§

ProtoOnehundredandtwentyfour = 124

§

ProtoOnehundredandtwentyfive = 125

§

ProtoOnehundredandtwentysix = 126

§

ProtoOnehundredandtwentyseven = 127

§

ProtoOnehundredandtwentyeight = 128

§

ProtoOnehundredandtwentynine = 129

§

ProtoOnehundredandthirty = 130

§

ProtoOnehundredandthirtyone = 131

§

Sctp = 132

§

ProtoOnehundredandthirtythree = 133

§

ProtoOnehundredandthirtyfour = 134

§

Mh = 135

§

Udplite = 136

§

Mpls = 137

§

ProtoOnehundredandthirtyeight = 138

§

ProtoOnehundredandthirtynine = 139

§

ProtoOnehundredandfourty = 140

§

ProtoOnehundredandfourtyone = 141

§

ProtoOnehundredandfourtytwo = 142

§

Ethernet = 143

§

ProtoOnehundredandfourtyfour = 144

§

ProtoOnehundredandfourtyfive = 145

§

ProtoOnehundredandfourtysix = 146

§

ProtoOnehundredandfourtyseven = 147

§

ProtoOnehundredandfourtyeight = 148

§

ProtoOnehundredandfourtynine = 149

§

ProtoOnehundredandfifty = 150

§

ProtoOnehundredandfiftyone = 151

§

ProtoOnehundredandfiftytwo = 152

§

ProtoOnehundredandfiftythree = 153

§

ProtoOnehundredandfiftyfour = 154

§

ProtoOnehundredandfiftyfive = 155

§

ProtoOnehundredandfiftysix = 156

§

ProtoOnehundredandfiftyseven = 157

§

ProtoOnehundredandfiftyeight = 158

§

ProtoOnehundredandfiftynine = 159

§

ProtoOnehundredandsixty = 160

§

ProtoOnehundredandsixtyone = 161

§

ProtoOnehundredandsixtytwo = 162

§

ProtoOnehundredandsixtythree = 163

§

ProtoOnehundredandsixtyfour = 164

§

ProtoOnehundredandsixtyfive = 165

§

ProtoOnehundredandsixtysix = 166

§

ProtoOnehundredandsixtyseven = 167

§

ProtoOnehundredandsixtyeight = 168

§

ProtoOnehundredandsixtynine = 169

§

ProtoOnehundredandseventy = 170

§

ProtoOnehundredandseventyone = 171

§

ProtoOnehundredandseventytwo = 172

§

ProtoOnehundredandseventythree = 173

§

ProtoOnehundredandseventyfour = 174

§

ProtoOnehundredandseventyfive = 175

§

ProtoOnehundredandseventysix = 176

§

ProtoOnehundredandseventyseven = 177

§

ProtoOnehundredandseventyeight = 178

§

ProtoOnehundredandseventynine = 179

§

ProtoOnehundredandeighty = 180

§

ProtoOnehundredandeightyone = 181

§

ProtoOnehundredandeightytwo = 182

§

ProtoOnehundredandeightythree = 183

§

ProtoOnehundredandeightyfour = 184

§

ProtoOnehundredandeightyfive = 185

§

ProtoOnehundredandeightysix = 186

§

ProtoOnehundredandeightyseven = 187

§

ProtoOnehundredandeightyeight = 188

§

ProtoOnehundredandeightynine = 189

§

ProtoOnehundredandninety = 190

§

ProtoOnehundredandninetyone = 191

§

ProtoOnehundredandninetytwo = 192

§

ProtoOnehundredandninetythree = 193

§

ProtoOnehundredandninetyfour = 194

§

ProtoOnehundredandninetyfive = 195

§

ProtoOnehundredandninetysix = 196

§

ProtoOnehundredandninetyseven = 197

§

ProtoOnehundredandninetyeight = 198

§

ProtoOnehundredandninetynine = 199

§

ProtoTwohundred = 200

§

ProtoTwohundredandone = 201

§

ProtoTwohundredandtwo = 202

§

ProtoTwohundredandthree = 203

§

ProtoTwohundredandfour = 204

§

ProtoTwohundredandfive = 205

§

ProtoTwohundredandsix = 206

§

ProtoTwohundredandseven = 207

§

ProtoTwohundredandeight = 208

§

ProtoTwohundredandnine = 209

§

ProtoTwohundredandten = 210

§

ProtoTwohundredandeleven = 211

§

ProtoTwohundredandtwelve = 212

§

ProtoTwohundredandthirteen = 213

§

ProtoTwohundredandfourteen = 214

§

ProtoTwohundredandfifteen = 215

§

ProtoTwohundredandsixteen = 216

§

ProtoTwohundredandseventeen = 217

§

ProtoTwohundredandeighteen = 218

§

ProtoTwohundredandnineteen = 219

§

ProtoTwohundredandtwenty = 220

§

ProtoTwohundredandtwentyone = 221

§

ProtoTwohundredandtwentytwo = 222

§

ProtoTwohundredandtwentythree = 223

§

ProtoTwohundredandtwentyfour = 224

§

ProtoTwohundredandtwentyfive = 225

§

ProtoTwohundredandtwentysix = 226

§

ProtoTwohundredandtwentyseven = 227

§

ProtoTwohundredandtwentyeight = 228

§

ProtoTwohundredandtwentynine = 229

§

ProtoTwohundredandthirty = 230

§

ProtoTwohundredandthirtyone = 231

§

ProtoTwohundredandthirtytwo = 232

§

ProtoTwohundredandthirtythree = 233

§

ProtoTwohundredandthirtyfour = 234

§

ProtoTwohundredandthirtyfive = 235

§

ProtoTwohundredandthirtysix = 236

§

ProtoTwohundredandthirtyseven = 237

§

ProtoTwohundredandthirtyeight = 238

§

ProtoTwohundredandthirtynine = 239

§

ProtoTwohundredandfourty = 240

§

ProtoTwohundredandfourtyone = 241

§

ProtoTwohundredandfourtytwo = 242

§

ProtoTwohundredandfourtythree = 243

§

ProtoTwohundredandfourtyfour = 244

§

ProtoTwohundredandfourtyfive = 245

§

ProtoTwohundredandfourtysix = 246

§

ProtoTwohundredandfourtyseven = 247

§

ProtoTwohundredandfourtyeight = 248

§

ProtoTwohundredandfourtynine = 249

§

ProtoTwohundredandfifty = 250

§

ProtoTwohundredandfiftyone = 251

§

ProtoTwohundredandfiftytwo = 252

§

ProtoTwohundredandfiftythree = 253

§

ProtoTwohundredandfiftyfour = 254

§

ProtoRaw = 255

§

ProtoTwohundredandfiftysix = 256

§

ProtoTwohundredandfiftyseven = 257

§

ProtoTwohundredandfiftyeight = 258

§

ProtoTwohundredandfiftynine = 259

§

ProtoTwohundredandsixty = 260

§

ProtoTwohundredandsixtyone = 261

§

Mptcp = 262

§

Max = 263

Trait Implementations§

source§

impl Clone for SockProto

source§

fn clone(&self) -> SockProto

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SockProto

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<SockProto> for u16

source§

fn from(enum_value: SockProto) -> Self

Converts to this type from the input type.
source§

impl FromToNativeWasmType for SockProto

§

type Native = i32

Native Wasm type.
source§

fn to_native(self) -> Self::Native

Convert self to Self::Native. Read more
source§

fn from_native(n: Self::Native) -> Self

Convert a value of kind Self::Native to Self. Read more
source§

fn is_from_store(&self, _store: &impl AsStoreRef) -> bool

Returns whether the given value is from the given store. Read more
source§

impl PartialEq for SockProto

source§

fn eq(&self, other: &SockProto) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u16> for SockProto

§

type Error = TryFromPrimitiveError<SockProto>

The type returned in the event of a conversion error.
source§

fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
source§

impl TryFromPrimitive for SockProto

§

type Primitive = u16

source§

const NAME: &'static str = "SockProto"

source§

fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>

source§

impl ValueType for SockProto

source§

fn zero_padding_bytes(&self, _bytes: &mut [MaybeUninit<u8>])

This method is passed a byte slice which contains the byte representation of self. It must zero out any bytes which are uninitialized (e.g. padding bytes).
source§

impl Copy for SockProto

source§

impl Eq for SockProto

source§

impl StructuralPartialEq for SockProto

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

source§

fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> LayoutRaw for T

source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
source§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> Upcastable for T
where T: Any + Send + Sync + 'static,

source§

fn upcast_any_ref(&self) -> &(dyn Any + 'static)

upcast ref
source§

fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)

upcast mut ref
source§

fn upcast_any_box(self: Box<T>) -> Box<dyn Any>

upcast boxed dyn
source§

impl<A1> WasmTypeList for A1

§

type CStruct = S1<A1>

The C type (a struct) that can hold/represent all the represented values.
§

type Array = [RawValue; 1]

The array type that can hold all the represented values. Read more
source§

fn size() -> u32

The size of the array
source§

unsafe fn from_array( _store: &mut impl AsStoreMut, array: <A1 as WasmTypeList>::Array, ) -> A1

Constructs Self based on an array of values. Read more
source§

unsafe fn from_slice( store: &mut impl AsStoreMut, slice: &[RawValue], ) -> Result<A1, TryFromSliceError>

Constructs Self based on a slice of values. Read more
source§

unsafe fn into_array( self, _store: &mut impl AsStoreMut, ) -> <A1 as WasmTypeList>::Array

Builds and returns an array of type Array from a tuple (list) of values. Read more
source§

fn empty_array() -> <A1 as WasmTypeList>::Array

Allocates and return an empty array of type Array that will hold a tuple (list) of values, usually to hold the returned values of a WebAssembly function call.
source§

unsafe fn from_c_struct( _store: &mut impl AsStoreMut, c_struct: <A1 as WasmTypeList>::CStruct, ) -> A1

Builds a tuple (list) of values from a C struct of type CStruct. Read more
source§

unsafe fn into_c_struct( self, _store: &mut impl AsStoreMut, ) -> <A1 as WasmTypeList>::CStruct

Builds and returns a C struct of type CStruct from a tuple (list) of values. Read more
source§

unsafe fn write_c_struct_to_ptr( c_struct: <A1 as WasmTypeList>::CStruct, _ptr: *mut RawValue, )

Writes the contents of a C struct to an array of RawValue. Read more
source§

fn wasm_types() -> &'static [Type]

Get the Wasm types for the tuple (list) of currently represented values.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more