Enum rustpython_vm::stdlib::posix::module::PathconfVar
source · #[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.
PC_LINK_MAX
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.
PC_2_SYMLINKS
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.
PC_SYMLINK_MAX
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
impl Clone for PathconfVar
source§fn clone(&self) -> PathconfVar
fn clone(&self) -> PathconfVar
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PathconfVar
impl Debug for PathconfVar
source§impl FromStr for PathconfVar
impl FromStr for PathconfVar
source§impl Hash for PathconfVar
impl Hash for PathconfVar
source§impl IntoEnumIterator for PathconfVar
impl IntoEnumIterator for PathconfVar
type Iterator = PathconfVarIter
fn iter() -> PathconfVarIter ⓘ
source§impl PartialEq<PathconfVar> for PathconfVar
impl PartialEq<PathconfVar> for PathconfVar
source§fn eq(&self, other: &PathconfVar) -> bool
fn eq(&self, other: &PathconfVar) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for PathconfVar
impl TryFrom<&str> for PathconfVar
impl Copy for PathconfVar
impl Eq for PathconfVar
impl StructuralEq for PathconfVar
impl StructuralPartialEq for PathconfVar
Auto Trait Implementations§
impl RefUnwindSafe for PathconfVar
impl Send for PathconfVar
impl Sync for PathconfVar
impl Unpin for PathconfVar
impl UnwindSafe for PathconfVar
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.