Enum SysconfVar

Source
#[repr(i32)]
pub enum SysconfVar {
Show 88 variants SC_2_CHAR_TERM = 20, SC_2_C_BIND = 18, SC_2_C_DEV = 19, SC_2_FORT_DEV = 21, SC_2_FORT_RUN = 22, SC_2_LOCALEDEF = 23, SC_2_SW_DEV = 24, SC_2_UPE = 25, SC_2_VERSION = 17, SC_AIO_LISTIO_MAX = 42, SC_AIO_MAX = 43, SC_AIO_PRIO_DELTA_MAX = 44, SC_ARG_MAX = 1, SC_ASYNCHRONOUS_IO = 28, SC_ATEXIT_MAX = 107, SC_BC_BASE_MAX = 9, SC_BC_DIM_MAX = 10, SC_BC_SCALE_MAX = 11, SC_BC_STRING_MAX = 12, SC_CHILD_MAX = 2, SC_CLK_TCK = 3, SC_COLL_WEIGHTS_MAX = 13, SC_DELAYTIMER_MAX = 45, SC_EXPR_NEST_MAX = 14, SC_FSYNC = 38, SC_GETGR_R_SIZE_MAX = 70, SC_GETPW_R_SIZE_MAX = 71, SC_IOV_MAX = 56, SC_JOB_CONTROL = 6, SC_LINE_MAX = 15, SC_LOGIN_NAME_MAX = 73, SC_MAPPED_FILES = 47, SC_MEMLOCK = 30, SC_MEMLOCK_RANGE = 31, SC_MEMORY_PROTECTION = 32, SC_MESSAGE_PASSING = 33, SC_MQ_OPEN_MAX = 46, SC_MQ_PRIO_MAX = 75, SC_NGROUPS_MAX = 4, SC_NPROCESSORS_CONF = 57, SC_NPROCESSORS_ONLN = 58, SC_OPEN_MAX = 5, SC_PAGE_SIZE = 29, SC_PASS_MAX = 131, SC_PHYS_PAGES = 200, SC_PRIORITIZED_IO = 34, SC_PRIORITY_SCHEDULING = 35, SC_REALTIME_SIGNALS = 36, SC_RE_DUP_MAX = 16, SC_RTSIG_MAX = 48, SC_SAVED_IDS = 7, SC_SEMAPHORES = 37, SC_SEM_NSEMS_MAX = 49, SC_SEM_VALUE_MAX = 50, SC_SHARED_MEMORY_OBJECTS = 39, SC_SIGQUEUE_MAX = 51, SC_STREAM_MAX = 26, SC_SYNCHRONIZED_IO = 40, SC_THREADS = 96, SC_THREAD_ATTR_STACKADDR = 82, SC_THREAD_ATTR_STACKSIZE = 83, SC_THREAD_DESTRUCTOR_ITERATIONS = 85, SC_THREAD_KEYS_MAX = 86, SC_THREAD_PRIORITY_SCHEDULING = 89, SC_THREAD_PRIO_INHERIT = 87, SC_THREAD_PRIO_PROTECT = 88, SC_THREAD_PROCESS_SHARED = 90, SC_THREAD_SAFE_FUNCTIONS = 91, SC_THREAD_STACK_MIN = 93, SC_THREAD_THREADS_MAX = 94, SC_TIMERS = 41, SC_TIMER_MAX = 52, SC_TTY_NAME_MAX = 101, SC_TZNAME_MAX = 27, SC_VERSION = 8, SC_XOPEN_CRYPT = 108, SC_XOPEN_ENH_I18N = 109, SC_XOPEN_LEGACY = 110, SC_XOPEN_REALTIME = 111, SC_XOPEN_REALTIME_THREADS = 112, SC_XOPEN_SHM = 113, SC_XOPEN_UNIX = 115, SC_XOPEN_VERSION = 116, SC_XOPEN_XCU_VERSION = 121, SC_XBS5_ILP32_OFF32 = 122, SC_XBS5_ILP32_OFFBIG = 123, SC_XBS5_LP64_OFF64 = 124, SC_XBS5_LPBIG_OFFBIG = 125,
}

Variants§

§

SC_2_CHAR_TERM = 20

§

SC_2_C_BIND = 18

§

SC_2_C_DEV = 19

§

SC_2_FORT_DEV = 21

§

SC_2_FORT_RUN = 22

§

SC_2_LOCALEDEF = 23

§

SC_2_SW_DEV = 24

§

SC_2_UPE = 25

§

SC_2_VERSION = 17

§

SC_AIO_LISTIO_MAX = 42

§

SC_AIO_MAX = 43

§

SC_AIO_PRIO_DELTA_MAX = 44

§

SC_ARG_MAX = 1

§

SC_ASYNCHRONOUS_IO = 28

§

SC_ATEXIT_MAX = 107

§

SC_BC_BASE_MAX = 9

§

SC_BC_DIM_MAX = 10

§

SC_BC_SCALE_MAX = 11

§

SC_BC_STRING_MAX = 12

§

SC_CHILD_MAX = 2

§

SC_CLK_TCK = 3

§

SC_COLL_WEIGHTS_MAX = 13

§

SC_DELAYTIMER_MAX = 45

§

SC_EXPR_NEST_MAX = 14

§

SC_FSYNC = 38

§

SC_GETGR_R_SIZE_MAX = 70

§

SC_GETPW_R_SIZE_MAX = 71

§

SC_IOV_MAX = 56

§

SC_JOB_CONTROL = 6

§

SC_LINE_MAX = 15

§

SC_LOGIN_NAME_MAX = 73

§

SC_MAPPED_FILES = 47

§

SC_MEMLOCK = 30

§

SC_MEMLOCK_RANGE = 31

§

SC_MEMORY_PROTECTION = 32

§

SC_MESSAGE_PASSING = 33

§

SC_MQ_OPEN_MAX = 46

§

SC_MQ_PRIO_MAX = 75

§

SC_NGROUPS_MAX = 4

§

SC_NPROCESSORS_CONF = 57

§

SC_NPROCESSORS_ONLN = 58

§

SC_OPEN_MAX = 5

§

SC_PAGE_SIZE = 29

§

SC_PASS_MAX = 131

§

SC_PHYS_PAGES = 200

§

SC_PRIORITIZED_IO = 34

§

SC_PRIORITY_SCHEDULING = 35

§

SC_REALTIME_SIGNALS = 36

§

SC_RE_DUP_MAX = 16

§

SC_RTSIG_MAX = 48

§

SC_SAVED_IDS = 7

§

SC_SEMAPHORES = 37

§

SC_SEM_NSEMS_MAX = 49

§

SC_SEM_VALUE_MAX = 50

§

SC_SHARED_MEMORY_OBJECTS = 39

§

SC_SIGQUEUE_MAX = 51

§

SC_STREAM_MAX = 26

§

SC_SYNCHRONIZED_IO = 40

§

SC_THREADS = 96

§

SC_THREAD_ATTR_STACKADDR = 82

§

SC_THREAD_ATTR_STACKSIZE = 83

§

SC_THREAD_DESTRUCTOR_ITERATIONS = 85

§

SC_THREAD_KEYS_MAX = 86

§

SC_THREAD_PRIORITY_SCHEDULING = 89

§

SC_THREAD_PRIO_INHERIT = 87

§

SC_THREAD_PRIO_PROTECT = 88

§

SC_THREAD_PROCESS_SHARED = 90

§

SC_THREAD_SAFE_FUNCTIONS = 91

§

SC_THREAD_STACK_MIN = 93

§

SC_THREAD_THREADS_MAX = 94

§

SC_TIMERS = 41

§

SC_TIMER_MAX = 52

§

SC_TTY_NAME_MAX = 101

§

SC_TZNAME_MAX = 27

§

SC_VERSION = 8

§

SC_XOPEN_CRYPT = 108

§

SC_XOPEN_ENH_I18N = 109

§

SC_XOPEN_LEGACY = 110

§

SC_XOPEN_REALTIME = 111

§

SC_XOPEN_REALTIME_THREADS = 112

§

SC_XOPEN_SHM = 113

§

SC_XOPEN_UNIX = 115

§

SC_XOPEN_VERSION = 116

§

SC_XOPEN_XCU_VERSION = 121

§

SC_XBS5_ILP32_OFF32 = 122

§

SC_XBS5_ILP32_OFFBIG = 123

§

SC_XBS5_LP64_OFF64 = 124

§

SC_XBS5_LPBIG_OFFBIG = 125

Implementations§

Source§

impl SysconfVar

Source

pub const SC_PAGESIZE: SysconfVar = Self::SC_PAGE_SIZE

Trait Implementations§

Source§

impl Clone for SysconfVar

Source§

fn clone(&self) -> SysconfVar

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 SysconfVar

Source§

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

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

impl FromStr for SysconfVar

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<SysconfVar, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for SysconfVar

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoEnumIterator for SysconfVar

Source§

impl PartialEq for SysconfVar

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<&str> for SysconfVar

Source§

type Error = ParseError

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

fn try_from(s: &str) -> Result<SysconfVar, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for SysconfVar

Source§

impl Eq for SysconfVar

Source§

impl StructuralPartialEq for SysconfVar

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> 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§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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

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

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, U> ExactFrom<T> for U
where U: TryFrom<T>,

Source§

fn exact_from(value: T) -> U

Source§

impl<T, U> ExactInto<U> for T
where U: ExactFrom<T>,

Source§

fn exact_into(self) -> U

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> OverflowingInto<U> for T
where U: OverflowingFrom<T>,

Source§

impl<T, U> RoundingInto<U> for T
where U: RoundingFrom<T>,

Source§

impl<T, U> SaturatingInto<U> for T
where U: SaturatingFrom<T>,

Source§

impl<T> ToDebugString for T
where T: Debug,

Source§

fn to_debug_string(&self) -> String

Returns the String produced by Ts Debug implementation.

§Examples
use malachite_base::strings::ToDebugString;

assert_eq!([1, 2, 3].to_debug_string(), "[1, 2, 3]");
assert_eq!(
    [vec![2, 3], vec![], vec![4]].to_debug_string(),
    "[[2, 3], [], [4]]"
);
assert_eq!(Some(5).to_debug_string(), "Some(5)");
Source§

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

Source§

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>,

Source§

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>,

Source§

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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T, U> WrappingInto<U> for T
where U: WrappingFrom<T>,

Source§

fn wrapping_into(self) -> U

Source§

impl<T> PyThreadingConstraint for T