Crate fidl_next_fuchsia_io

Crate fidl_next_fuchsia_io 

Source

Re-exports§

pub use self::natural::*;

Modules§

advisory_locking
compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
directory
directory_watcher
extended_attribute_iterator
file
generic
linkable
natural
node
readable
symlink
wire
wire_optional
writable

Structs§

AdvisoryLockRange
AdvisoryLockRequest
AdvisoryLocking
The type corresponding to the AdvisoryLocking protocol. Advisory locking protocol.
AdvisoryLockingAdvisoryLockRequest
AdvisoryLockingAdvisoryLockResponse
AllocateMode
Directory
The type corresponding to the Directory protocol. Directory defines a node which is capable of containing other Objects.
DirectoryCreateSymlinkResponse
DirectoryInfo
DirectoryLinkResponse
DirectoryObject
DirectoryReadDirentsRequest
DirectoryReadDirentsResponse
DirectoryRenameResponse
DirectoryRewindResponse
DirectoryUnlinkRequest
DirectoryUnlinkResponse
DirectoryWatchResponse
DirectoryWatcher
The type corresponding to the DirectoryWatcher protocol. DirectoryWatcher transmits messages from a filesystem server about events happening in the filesystem. Clients can register new watchers using the Directory.Watch method, where they can filter which events they want to receive notifications for.
EmptyStruct
Used in places where empty structs are needed, such as empty union members, to avoid creating new struct types.
ExtendedAttributeIterator
The type corresponding to the ExtendedAttributeIterator protocol.
ExtendedAttributeIteratorGetNextResponse
File
The type corresponding to the File protocol. A Node which contains a sequence of bytes of definite length.
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
Linkable
The type corresponding to the Linkable protocol.
LinkableLinkIntoResponse
ModeType
MutableNodeAttributes
Node
The type corresponding to the Node protocol. Node defines the minimal interface for entities which can be accessed in a filesystem.
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).
Readable
The type corresponding to the Readable protocol.
ReadableReadRequest
ReadableReadResponse
Service
Symlink
The type corresponding to the Symlink protocol. A [‘Node’] which contains a symbolic link.
SymlinkInfo
SymlinkObject
UnlinkFlags
UnlinkOptions
VerificationOptions
Set of options used to enable verity on a file.
VmoFlags
WatchMask
Writable
The type corresponding to the Writable protocol.
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

Constants§

DIRECTORY_PROTOCOL_NAME
FILE_PROTOCOL_NAME
FLAG_TEMPORARY_AS_NOT_LINKABLE
Specifies that this object is not linkable. This is only intended to be used in the context of creating a temporary unnamed objects. When that is not the case, the node protocol defines if it is linkable (i.e. if it composes the Linkable protocol). When this flag is set along with Flags.FLAG_CREATE_AS_UNNAMED_TEMPORARY, an unnamed temporary object will be created that cannot be linked into the filesystem. This would be similar to Linux O_TMPFILE | O_EXCL.
INHERITED_WRITE_PERMISSIONS
Set of rights that [Flags.PERM_INHERIT_WRITE] will inherit from the parent connection if specified. Note that if any of these permissions are missing from the connection, none of these permissions will be inherited.
INO_UNKNOWN
Nodes which do not have ino values should return this value from Readdir and GetAttr.
MASK_KNOWN_PERMISSIONS
MASK_KNOWN_PROTOCOLS
MASK_PERMISSION_FLAGS
MASK_POSIX_FLAGS
MAX_ATTRIBUTE_NAME
The maximum size for an extended attribute name.
MAX_BUF
The maximal buffer size which can be transmitted for buffered operations. This capacity is currently set somewhat arbitrarily.
MAX_FILENAME
The maximum length, in bytes, of a single filesystem component.
MAX_FS_NAME_BUFFER
MAX_INLINE_ATTRIBUTE_VALUE
The maximum size for an extended attribute value to be included inline. Values larger than this size are passed in a vmo.
MAX_LIST_ATTRIBUTES_CHUNK
The maximum size of a chunk in the ListExtendedAttributes iterator.
MAX_NAME_LENGTH
The maximum length, in bytes, of a single filesystem component.
MAX_PATH_LENGTH
The maximum length, in bytes, of a filesystem path.
MAX_SELINUX_CONTEXT_ATTRIBUTE_LEN
The maximum size for passing the SELinux context as an attribute.
MAX_TRANSFER_SIZE
The maximum I/O size that is allowed for read/write operations using byte vectors.
NODE_PROTOCOL_NAME
OPEN_FLAGS_ALLOWED_WITH_NODE_REFERENCE
Flags used when opening a node reference must fall within this mask.
OPEN_RIGHTS
All known rights.
PERM_EXECUTABLE
Set of permissions that are expected when opening a node as executable.
PERM_READABLE
Set of permissions that are expected when opening a node as readable.
PERM_WRITABLE
Set of permissions that are expected when opening a node as writable.
RW_STAR_DIR
Alias for directory permission alias rw*
RX_STAR_DIR
Alias for directory permission alias rx*
R_STAR_DIR
Alias for directory permission alias r*
SELINUX_CONTEXT_NAME
The name of the extended attribute accessible via the SELinux context attribute.
SYMLINK_PROTOCOL_NAME
W_STAR_DIR
Alias for directory permission alias w*
X_STAR_DIR
Alias for directory permission alias x*

Traits§

AdvisoryLockingClientHandler
A client handler for the AdvisoryLocking protocol.
AdvisoryLockingServerHandler
A server handler for the AdvisoryLocking protocol.
DirectoryClientHandler
A client handler for the Directory protocol.
DirectoryServerHandler
A server handler for the Directory protocol.
DirectoryWatcherClientHandler
A client handler for the DirectoryWatcher protocol.
DirectoryWatcherServerHandler
A server handler for the DirectoryWatcher protocol.
ExtendedAttributeIteratorClientHandler
A client handler for the ExtendedAttributeIterator protocol.
ExtendedAttributeIteratorServerHandler
A server handler for the ExtendedAttributeIterator protocol.
FileClientHandler
A client handler for the File protocol.
FileServerHandler
A server handler for the File protocol.
LinkableClientHandler
A client handler for the Linkable protocol.
LinkableServerHandler
A server handler for the Linkable protocol.
NodeClientHandler
A client handler for the Node protocol.
NodeServerHandler
A server handler for the Node protocol.
ReadableClientHandler
A client handler for the Readable protocol.
ReadableServerHandler
A server handler for the Readable protocol.
SymlinkClientHandler
A client handler for the Symlink protocol.
SymlinkServerHandler
A server handler for the Symlink protocol.
WritableClientHandler
A client handler for the Writable protocol.
WritableServerHandler
A server handler for the Writable protocol.

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.