Module natural

Module natural 

Source

Structs§

AdvisoryLockRange
AdvisoryLockRequest
AdvisoryLockingAdvisoryLockRequest
AdvisoryLockingAdvisoryLockResponse
AllocateMode
ConnectionInfo
DirectoryCreateSymlinkRequest
DirectoryCreateSymlinkResponse
DirectoryDeprecatedOpenRequest
DirectoryGetTokenResponse
DirectoryInfo
DirectoryLinkRequest
DirectoryLinkResponse
DirectoryObject
DirectoryOpenRequest
DirectoryReadDirentsRequest
DirectoryReadDirentsResponse
DirectoryRenameRequest
DirectoryRenameResponse
DirectoryRewindResponse
DirectoryUnlinkRequest
DirectoryUnlinkResponse
DirectoryWatchRequest
DirectoryWatchResponse
EmptyStruct
Used in places where empty structs are needed, such as empty union members, to avoid creating new struct types.
ExtendedAttributeIteratorGetNextResponse
FileAllocateRequest
FileAllocateResponse
FileEnableVerityRequest
FileEnableVerityResponse
FileGetBackingMemoryRequest
FileGetBackingMemoryResponse
FileInfo
Auxiliary data for the file representation of a node.
FileObject
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
LinkableLinkIntoRequest
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
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
NodeRemoveExtendedAttributeResponse
NodeSetExtendedAttributeRequest
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
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.
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
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.