Lines Matching refs:invalid

38     /// One of the arguments is invalid.
41 invalid-argument,
63 invalid-state,
205 /// - `invalid-argument`: `name` is a syntactically invalid domain name or IP address.
257 /// `error(invalid-state)` when in the `closed` state.
272 …/// - `invalid-argument`: The `local-address` has the wrong address family. (EAFNOSUPPORT…
273 /// - `invalid-argument`: `local-address` is not a unicast address. (EINVAL)
274 /// - `invalid-argument`: `local-address` is an IPv4-mapped IPv6 address. (EINVAL)
275 /// - `invalid-state`: The socket is already bound. (EINVAL)
313 …/// - `invalid-argument`: The `remote-address` has the wrong address family. (EAFNOSUPPOR…
314 …/// - `invalid-argument`: `remote-address` is not a unicast address. (EINVAL, ENETUNREACH…
315 …/// - `invalid-argument`: `remote-address` is an IPv4-mapped IPv6 address. (EINVAL, EADDR…
316 …/// - `invalid-argument`: The IP address in `remote-address` is set to INADDR_ANY (`0.0.0…
317 …/// - `invalid-argument`: The port in `remote-address` is set to 0. (EADDRNOTAVAIL on Win…
318 …/// - `invalid-argument`: The socket is already attached to a different network. The `net…
319 /// - `invalid-state`: The socket is already in the `connected` state. (EISCONN)
320 …/// - `invalid-state`: The socket is already in the `listening` state. (EOPNOTSUPP, EI…
355 /// - `invalid-state`: The socket is not bound to any local address. (EDESTADDRREQ)
356 …/// - `invalid-state`: The socket is already in the `connected` state. (EISCONN, EINVA…
357 /// - `invalid-state`: The socket is already in the `listening` state.
393 /// - `invalid-state`: Socket is not in the `listening` state. (EINVAL)
411 …/// WASI is stricter and requires `local-address` to return `invalid-state` when the socket hasn't…
414 /// - `invalid-state`: The socket is not bound to any local address.
426 /// - `invalid-state`: The socket is not connected to a remote address. (ENOTCONN)
447 /// If the provided value is 0, an `invalid-argument` error is returned.
452 /// - `invalid-argument`: (set) The provided value was 0.
453 …/// - `invalid-state`: (set) The socket is in the `connect-in-progress` or `connected` stat…
471 /// If the provided value is 0, an `invalid-argument` error is returned.
478 /// - `invalid-argument`: (set) The provided value was 0.
485 /// If the provided value is 0, an `invalid-argument` error is returned.
492 /// - `invalid-argument`: (set) The provided value was 0.
499 /// If the provided value is 0, an `invalid-argument` error is returned.
506 /// - `invalid-argument`: (set) The provided value was 0.
513 /// If the provided value is 0, an `invalid-argument` error is returned.
516 /// - `invalid-argument`: (set) The TTL value must be 1 or higher.
523 /// If the provided value is 0, an `invalid-argument` error is returned.
530 /// - `invalid-argument`: (set) The provided value was 0.
574 /// - `invalid-state`: The socket is not in the `connected` state. (ENOTCONN)
664 …/// - `invalid-argument`: The `local-address` has the wrong address family. (EAFNOSUPPORT…
665 /// - `invalid-state`: The socket is already bound. (EINVAL)
714 …/// - `invalid-argument`: The `remote-address` has the wrong address family. (EAFNOSUPPOR…
715 …/// - `invalid-argument`: The IP address in `remote-address` is set to INADDR_ANY (`0.0.0…
716 …/// - `invalid-argument`: The port in `remote-address` is set to 0. (EDESTADDRREQ, EADDRN…
717 /// - `invalid-state`: The socket is not bound.
735 …/// WASI is stricter and requires `local-address` to return `invalid-state` when the socket hasn't…
738 /// - `invalid-state`: The socket is not bound to any local address.
750 /// - `invalid-state`: The socket is not streaming to a specific remote address. (ENOTCONN)
766 /// If the provided value is 0, an `invalid-argument` error is returned.
769 /// - `invalid-argument`: (set) The TTL value must be 1 or higher.
776 /// If the provided value is 0, an `invalid-argument` error is returned.
783 /// - `invalid-argument`: (set) The provided value was 0.
865 … /// - `invalid-argument`: The `remote-address` has the wrong address family. (EAFNOSUPPORT)
866 …/// - `invalid-argument`: The IP address in `remote-address` is set to INADDR_ANY (`0.0.0.0…
867 …/// - `invalid-argument`: The port in `remote-address` is set to 0. (EDESTADDRREQ, EADDRNOT…
868 …/// - `invalid-argument`: The socket is in "connected" mode and `remote-address` is `some` …
869 …/// - `invalid-argument`: The socket is not "connected" and no value for `remote-address` w…