Skip to main content

Module natural

Module natural 

Source

Structs§

AdvisoryLockRange
AdvisoryLockRequest
AdvisoryLockingAdvisoryLockRequest
AdvisoryLockingAdvisoryLockResponse
AllocateMode
DirectoryCreateSymlinkResponse
DirectoryInfo
DirectoryLinkResponse
DirectoryObject
DirectoryReadDirentsRequest
DirectoryReadDirentsResponse
DirectoryRenameResponse
DirectoryRewindResponse
DirectoryUnlinkRequest
DirectoryUnlinkResponse
DirectoryWatchResponse
EmptyStruct
Used in places where empty structs are needed, such as empty union members, to avoid creating new struct types.
ExtendedAttributeIteratorGetNextResponse
FileAllocateResponse
FileEnableVerityResponse
FileGetBackingMemoryRequest
FileReadAtRequest
FileReadAtResponse
FileResizeRequest
FileResizeResponse
FileSeekRequest
FileSeekResponse
FileSignal
FileWriteAtRequest
FileWriteAtResponse
FilesystemInfo
Flags
Flags used to specify how a node should be opened. Note that ranges of bits are reserved for specific use cases:
ImmutableNodeAttributes
LinkableLinkIntoResponse
ModeType
MutableNodeAttributes
NodeAttributeFlags
The fields of ‘attributes’ which are used to update the Node are indicated by the ‘flags’ argument.
NodeAttributes
NodeAttributes defines generic information about a filesystem node.
NodeAttributes2
NodeAttributesQuery
NodeDeprecatedGetAttrResponse
NodeDeprecatedGetFlagsResponse
NodeDeprecatedSetAttrRequest
NodeDeprecatedSetAttrResponse
NodeDeprecatedSetFlagsRequest
NodeDeprecatedSetFlagsResponse
NodeGetAttributesRequest
NodeGetExtendedAttributeRequest
NodeGetFlagsResponse
NodeInfo
Information that describes the target node.
NodeProtocolKinds
A node may have multiple supported representations when opening, even though it may have a fixed underlying identity.
NodeQueryFilesystemResponse
NodeRemoveExtendedAttributeRequest
NodeRemoveExtendedAttributeResponse
NodeSetExtendedAttributeResponse
NodeSetFlagsRequest
NodeSetFlagsResponse
NodeSyncResponse
NodeUpdateAttributesResponse
OpenFlags
DEPRECATED - Use Flags instead.
Operations
The common members definition behind Rights and Abilities. Some operations may apply only to certain node types (e.g. [Operations.MODIFY_DIRECTORY] only applies to directories).
Options
Options which can be used when opening nodes. Unlike Flags, these options are designed for specific use cases (e.g. to reduce round-trip latency when requesting attributes).
ReadableReadRequest
ReadableReadResponse
Service
SymlinkInfo
SymlinkObject
UnlinkFlags
UnlinkOptions
VerificationOptions
Set of options used to enable verity on a file.
VmoFlags
WatchMask
WritableWriteRequest
WritableWriteResponse

Enums§

AdvisoryLockType
DirentType
HashAlgorithm
Denotes which hash algorithm is used to build the merkle tree for fsverity-enabled files.
SeekOrigin
The reference point for updating the seek offset. See [File.Seek].
SelinuxContext
SetExtendedAttributeMode
WatchEvent

Type Aliases§

Abilities
Abilities are properties intrinsic to a node. They specify which operations are supported by it.
ExtendedAttributeName
The name of an extended attribute. It can not contain any null bytes. Other than that and the maximum size, no particular structure is imposed on the name.
Id
The type to identify a node, if the implementation supports some notion of unique node ID.
Name
The type for the name of a node, i.e. a single path component. E.g. foo
Path
A path is a string of one or more components, separated by “/”. E.g. foo/bar/baz
Rights
Rights are properties specific to a connection. They limit which operations are allowed on a connection, including those which may be granted to new connections.
SymlinkTarget
Transfer
The byte vector type used for read/write operations.