#[repr(i32)]
pub enum PathconfVar {
Show 20 variants PC_FILESIZEBITS, PC_LINK_MAX, PC_MAX_CANON, PC_MAX_INPUT, PC_NAME_MAX, PC_PATH_MAX, PC_PIPE_BUF, PC_2_SYMLINKS, PC_ALLOC_SIZE_MIN, PC_REC_INCR_XFER_SIZE, PC_REC_MAX_XFER_SIZE, PC_REC_MIN_XFER_SIZE, PC_REC_XFER_ALIGN, PC_SYMLINK_MAX, PC_CHOWN_RESTRICTED, PC_NO_TRUNC, PC_VDISABLE, PC_ASYNC_IO, PC_PRIO_IO, PC_SYNC_IO,
}

Variants§

§

PC_FILESIZEBITS

Minimum number of bits needed to represent, as a signed integer value, the maximum size of a regular file allowed in the specified directory.

Maximum number of links to a single file.

§

PC_MAX_CANON

Maximum number of bytes in a terminal canonical input line.

§

PC_MAX_INPUT

Minimum number of bytes for which space is available in a terminal input queue; therefore, the maximum number of bytes a conforming application may require to be typed as input before reading them.

§

PC_NAME_MAX

Maximum number of bytes in a filename (not including the terminating null of a filename string).

§

PC_PATH_MAX

Maximum number of bytes the implementation will store as a pathname in a user-supplied buffer of unspecified size, including the terminating null character. Minimum number the implementation will accept as the maximum number of bytes in a pathname.

§

PC_PIPE_BUF

Maximum number of bytes that is guaranteed to be atomic when writing to a pipe.

Symbolic links can be created.

§

PC_ALLOC_SIZE_MIN

Minimum number of bytes of storage actually allocated for any portion of a file.

§

PC_REC_INCR_XFER_SIZE

Recommended increment for file transfer sizes between the POSIX_REC_MIN_XFER_SIZE and POSIX_REC_MAX_XFER_SIZE values.

§

PC_REC_MAX_XFER_SIZE

Maximum recommended file transfer size.

§

PC_REC_MIN_XFER_SIZE

Minimum recommended file transfer size.

§

PC_REC_XFER_ALIGN

Recommended file transfer buffer alignment.

Maximum number of bytes in a symbolic link.

§

PC_CHOWN_RESTRICTED

The use of chown and fchown is restricted to a process with appropriate privileges, and to changing the group ID of a file only to the effective group ID of the process or to one of its supplementary group IDs.

§

PC_NO_TRUNC

Pathname components longer than {NAME_MAX} generate an error.

§

PC_VDISABLE

This symbol shall be defined to be the value of a character that shall disable terminal special character handling.

§

PC_ASYNC_IO

Asynchronous input or output operations may be performed for the associated file.

§

PC_PRIO_IO

Prioritized input or output operations may be performed for the associated file.

§

PC_SYNC_IO

Synchronized input or output operations may be performed for the associated file.

Trait Implementations§

source§

impl Clone for PathconfVar

source§

fn clone(&self) -> PathconfVar

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 PathconfVar

source§

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

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

impl FromStr for PathconfVar

§

type Err = ParseError

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

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

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

impl Hash for PathconfVar

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 PathconfVar

source§

impl PartialEq<PathconfVar> for PathconfVar

source§

fn eq(&self, other: &PathconfVar) -> 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<&str> for PathconfVar

§

type Error = ParseError

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

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

Performs the conversion.
source§

impl Copy for PathconfVar

source§

impl Eq for PathconfVar

source§

impl StructuralEq for PathconfVar

source§

impl StructuralPartialEq for PathconfVar

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CallHasher for Twhere T: Hash + ?Sized,

source§

default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64where H: Hash + ?Sized, B: BuildHasher,

source§

impl<Q, K> Equivalent<K> for Qwhere 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.
§

impl<T, U> ExactFrom<T> for Uwhere U: TryFrom<T>,

§

fn exact_from(value: T) -> U

§

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

§

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 Twhere 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.

§

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

§

fn overflowing_into(self) -> (U, bool)

§

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

§

fn rounding_into(self, rm: RoundingMode) -> U

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

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

§

fn saturating_into(self) -> U

§

impl<T> ToDebugString for Twhere T: Debug,

§

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

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

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

§

fn wrapping_into(self) -> U

source§

impl<T> PyThreadingConstraint for T