Enum SysconfVar

Source
#[repr(i32)]
pub enum SysconfVar {
Show 88 variants SC_2_CHAR_TERM = 95, SC_2_C_BIND = 47, SC_2_C_DEV = 48, SC_2_FORT_DEV = 49, SC_2_FORT_RUN = 50, SC_2_LOCALEDEF = 52, SC_2_SW_DEV = 51, SC_2_UPE = 97, SC_2_VERSION = 46, SC_AIO_LISTIO_MAX = 23, SC_AIO_MAX = 24, SC_AIO_PRIO_DELTA_MAX = 25, SC_ARG_MAX = 0, SC_ASYNCHRONOUS_IO = 12, SC_ATEXIT_MAX = 87, SC_BC_BASE_MAX = 36, SC_BC_DIM_MAX = 37, SC_BC_SCALE_MAX = 38, SC_BC_STRING_MAX = 39, SC_CHILD_MAX = 1, SC_CLK_TCK = 2, SC_COLL_WEIGHTS_MAX = 40, SC_DELAYTIMER_MAX = 26, SC_EXPR_NEST_MAX = 42, SC_FSYNC = 15, SC_GETGR_R_SIZE_MAX = 69, SC_GETPW_R_SIZE_MAX = 70, SC_IOV_MAX = 60, SC_JOB_CONTROL = 7, SC_LINE_MAX = 43, SC_LOGIN_NAME_MAX = 71, SC_MAPPED_FILES = 16, SC_MEMLOCK = 17, SC_MEMLOCK_RANGE = 18, SC_MEMORY_PROTECTION = 19, SC_MESSAGE_PASSING = 20, SC_MQ_OPEN_MAX = 27, SC_MQ_PRIO_MAX = 28, SC_NGROUPS_MAX = 3, SC_NPROCESSORS_CONF = 83, SC_NPROCESSORS_ONLN = 84, SC_OPEN_MAX = 4, SC_PAGE_SIZE = 30, SC_PASS_MAX = 88, SC_PHYS_PAGES = 85, SC_PRIORITIZED_IO = 13, SC_PRIORITY_SCHEDULING = 10, SC_REALTIME_SIGNALS = 9, SC_RE_DUP_MAX = 44, SC_RTSIG_MAX = 31, SC_SAVED_IDS = 8, SC_SEMAPHORES = 21, SC_SEM_NSEMS_MAX = 32, SC_SEM_VALUE_MAX = 33, SC_SHARED_MEMORY_OBJECTS = 22, SC_SIGQUEUE_MAX = 34, SC_STREAM_MAX = 5, SC_SYNCHRONIZED_IO = 14, SC_THREADS = 67, SC_THREAD_ATTR_STACKADDR = 77, SC_THREAD_ATTR_STACKSIZE = 78, SC_THREAD_DESTRUCTOR_ITERATIONS = 73, SC_THREAD_KEYS_MAX = 74, SC_THREAD_PRIORITY_SCHEDULING = 79, SC_THREAD_PRIO_INHERIT = 80, SC_THREAD_PRIO_PROTECT = 81, SC_THREAD_PROCESS_SHARED = 82, SC_THREAD_SAFE_FUNCTIONS = 68, SC_THREAD_STACK_MIN = 75, SC_THREAD_THREADS_MAX = 76, SC_TIMERS = 11, SC_TIMER_MAX = 35, SC_TTY_NAME_MAX = 72, SC_TZNAME_MAX = 6, SC_VERSION = 29, SC_XOPEN_CRYPT = 92, SC_XOPEN_ENH_I18N = 93, SC_XOPEN_LEGACY = 129, SC_XOPEN_REALTIME = 130, SC_XOPEN_REALTIME_THREADS = 131, SC_XOPEN_SHM = 94, SC_XOPEN_UNIX = 91, SC_XOPEN_VERSION = 89, SC_XOPEN_XCU_VERSION = 90, SC_XBS5_ILP32_OFF32 = 125, SC_XBS5_ILP32_OFFBIG = 126, SC_XBS5_LP64_OFF64 = 127, SC_XBS5_LPBIG_OFFBIG = 128,
}

Variants§

§

SC_2_CHAR_TERM = 95

§

SC_2_C_BIND = 47

§

SC_2_C_DEV = 48

§

SC_2_FORT_DEV = 49

§

SC_2_FORT_RUN = 50

§

SC_2_LOCALEDEF = 52

§

SC_2_SW_DEV = 51

§

SC_2_UPE = 97

§

SC_2_VERSION = 46

§

SC_AIO_LISTIO_MAX = 23

§

SC_AIO_MAX = 24

§

SC_AIO_PRIO_DELTA_MAX = 25

§

SC_ARG_MAX = 0

§

SC_ASYNCHRONOUS_IO = 12

§

SC_ATEXIT_MAX = 87

§

SC_BC_BASE_MAX = 36

§

SC_BC_DIM_MAX = 37

§

SC_BC_SCALE_MAX = 38

§

SC_BC_STRING_MAX = 39

§

SC_CHILD_MAX = 1

§

SC_CLK_TCK = 2

§

SC_COLL_WEIGHTS_MAX = 40

§

SC_DELAYTIMER_MAX = 26

§

SC_EXPR_NEST_MAX = 42

§

SC_FSYNC = 15

§

SC_GETGR_R_SIZE_MAX = 69

§

SC_GETPW_R_SIZE_MAX = 70

§

SC_IOV_MAX = 60

§

SC_JOB_CONTROL = 7

§

SC_LINE_MAX = 43

§

SC_LOGIN_NAME_MAX = 71

§

SC_MAPPED_FILES = 16

§

SC_MEMLOCK = 17

§

SC_MEMLOCK_RANGE = 18

§

SC_MEMORY_PROTECTION = 19

§

SC_MESSAGE_PASSING = 20

§

SC_MQ_OPEN_MAX = 27

§

SC_MQ_PRIO_MAX = 28

§

SC_NGROUPS_MAX = 3

§

SC_NPROCESSORS_CONF = 83

§

SC_NPROCESSORS_ONLN = 84

§

SC_OPEN_MAX = 4

§

SC_PAGE_SIZE = 30

§

SC_PASS_MAX = 88

§

SC_PHYS_PAGES = 85

§

SC_PRIORITIZED_IO = 13

§

SC_PRIORITY_SCHEDULING = 10

§

SC_REALTIME_SIGNALS = 9

§

SC_RE_DUP_MAX = 44

§

SC_RTSIG_MAX = 31

§

SC_SAVED_IDS = 8

§

SC_SEMAPHORES = 21

§

SC_SEM_NSEMS_MAX = 32

§

SC_SEM_VALUE_MAX = 33

§

SC_SHARED_MEMORY_OBJECTS = 22

§

SC_SIGQUEUE_MAX = 34

§

SC_STREAM_MAX = 5

§

SC_SYNCHRONIZED_IO = 14

§

SC_THREADS = 67

§

SC_THREAD_ATTR_STACKADDR = 77

§

SC_THREAD_ATTR_STACKSIZE = 78

§

SC_THREAD_DESTRUCTOR_ITERATIONS = 73

§

SC_THREAD_KEYS_MAX = 74

§

SC_THREAD_PRIORITY_SCHEDULING = 79

§

SC_THREAD_PRIO_INHERIT = 80

§

SC_THREAD_PRIO_PROTECT = 81

§

SC_THREAD_PROCESS_SHARED = 82

§

SC_THREAD_SAFE_FUNCTIONS = 68

§

SC_THREAD_STACK_MIN = 75

§

SC_THREAD_THREADS_MAX = 76

§

SC_TIMERS = 11

§

SC_TIMER_MAX = 35

§

SC_TTY_NAME_MAX = 72

§

SC_TZNAME_MAX = 6

§

SC_VERSION = 29

§

SC_XOPEN_CRYPT = 92

§

SC_XOPEN_ENH_I18N = 93

§

SC_XOPEN_LEGACY = 129

§

SC_XOPEN_REALTIME = 130

§

SC_XOPEN_REALTIME_THREADS = 131

§

SC_XOPEN_SHM = 94

§

SC_XOPEN_UNIX = 91

§

SC_XOPEN_VERSION = 89

§

SC_XOPEN_XCU_VERSION = 90

§

SC_XBS5_ILP32_OFF32 = 125

§

SC_XBS5_ILP32_OFFBIG = 126

§

SC_XBS5_LP64_OFF64 = 127

§

SC_XBS5_LPBIG_OFFBIG = 128

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