Skip to main content

Module natural

Module natural 

Source

Structs§

AdvisoryLockRange
AdvisoryLockRequest
AdvisoryLockingAdvisoryLockRequest
AllocateMode
ConnectionInfo
DirectoryCreateSymlinkRequest
DirectoryDeprecatedOpenRequest
DirectoryGetTokenResponse
DirectoryInfo
DirectoryLinkRequest
DirectoryLinkResponse
DirectoryOpenRequest
DirectoryReadDirentsRequest
DirectoryReadDirentsResponse
DirectoryRenameRequest
DirectoryRewindResponse
DirectoryUnlinkRequest
DirectoryWatchRequest
DirectoryWatchResponse
ExtendedAttributeIteratorGetNextResponse
FileAllocateRequest
FileEnableVerityRequest
FileGetBackingMemoryRequest
FileGetBackingMemoryResponse
FileInfo
Auxiliary data for the file representation of a node.
FileObject
FileReadAtRequest
FileReadAtResponse
FileResizeRequest
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
LinkableLinkIntoRequest
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
NodeDeprecatedCloneRequest
NodeDeprecatedGetAttrResponse
NodeDeprecatedGetFlagsResponse
NodeDeprecatedSetAttrRequest
NodeDeprecatedSetAttrResponse
NodeDeprecatedSetFlagsRequest
NodeDeprecatedSetFlagsResponse
NodeGetAttributesRequest
NodeGetExtendedAttributeRequest
NodeGetFlagsResponse
NodeInfo
Information that describes the target node.
NodeListExtendedAttributesRequest
NodeOnOpenRequest
NodeProtocolKinds
A node may have multiple supported representations when opening, even though it may have a fixed underlying identity.
NodeQueryFilesystemResponse
NodeRemoveExtendedAttributeRequest
NodeSetExtendedAttributeRequest
NodeSetFlagsRequest
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
SymlinkInfo
SymlinkObject
UnlinkFlags
UnlinkOptions
VerificationOptions
Set of options used to enable verity on a file.
VmoFlags
WatchMask
WritableWriteRequest
WritableWriteResponse

Enums§

AdvisoryLockType
DirentType
ExtendedAttributeValue
The value type for an extended attribute. If the value is less than 32768 bytes, then it is included inline. Values larger than this size are written into a vmo buffer.
HashAlgorithm
Denotes which hash algorithm is used to build the merkle tree for fsverity-enabled files.
NodeInfoDeprecated
Representation
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.
AdvisoryLockingAdvisoryLockResponse
DirectoryCreateSymlinkResponse
DirectoryObject
DirectoryRenameResponse
DirectoryUnlinkResponse
EmptyStruct
Used in places where empty structs are needed, such as empty union members, to avoid creating new struct types.
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.
FileAllocateResponse
FileEnableVerityResponse
FileResizeResponse
Id
The type to identify a node, if the implementation supports some notion of unique node ID.
LinkableLinkIntoResponse
Name
The type for the name of a node, i.e. a single path component. E.g. foo
NodeRemoveExtendedAttributeResponse
NodeSetExtendedAttributeResponse
NodeSetFlagsResponse
NodeSyncResponse
NodeUpdateAttributesResponse
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.
Service
SymlinkTarget
Token
The type to identify a connection to a node. It represents a capability: a reference to a node with associated rights.
Transfer
The byte vector type used for read/write operations.