Crate syncio

Crate syncio 

Source

Re-exports§

pub use zxio::zxio_dirent_t;
pub use zxio::zxio_fsverity_descriptor;
pub use zxio::zxio_fsverity_descriptor_t;
pub use zxio::zxio_node_attr_zxio_node_attr_has_t as zxio_node_attr_has_t;
pub use zxio::zxio_node_attributes_t;
pub use zxio::zxio_signals_t;

Modules§

zxio
WARNING - This file was auto generated by //src/starnix/lib/syncio/generate.py. Do not modify this file. To re-generate, run the following command from the root of your Fuchsia checkout:

Structs§

AllocateMode
Describes the mode of operation when allocating disk space using Allocate.
DirentIterator
RecvMessageInfo
SelinuxContextAttr
Holder type for the resulting context, ensuring that it
Zxio
A handle to a zxio object.
ZxioDirent
ZxioErrorCode
ZxioOpenOptions
Options for Open3.
ZxioShutdownFlags
The flags for shutting down sockets.
ZxioSignals
ZxioSocketCreationOptions
Socket creation options that can be used.
ZxioSocketMark
A transparent wrapper around the bindgen type.
ZxioWakeGroupToken
A transparent wrapper around the zxio_wake_group_token_t bindgen type.
ZxioWeak

Enums§

ControlMessage
SeekOrigin
XattrSetMode
Describes the mode of operation when setting an extended attribute.
ZxioTokenType

Constants§

ZXIO_ROOT_HASH_LENGTH
ZXIO_SOCKET_MARK_SO_MARK
Linux marks aren’t compatible with Fuchsia marks, we store the SO_MARK value in the fuchsia ZXIO_SOCKET_MARK_DOMAIN_1. If a mark in this domain is absent, it will be reported to starnix applications as a 0 since that is the default mark value on Linux.
ZXIO_SOCKET_MARK_UID
Fuchsia does not have uids, we use the ZXIO_SOCKET_MARK_DOMAIN_2 on the socket to store the UID for the sockets created by starnix.

Traits§

ServiceConnector
A trait that provides functionality to connect a channel to a FIDL service.
ZxioTokenResolver
Trait for token resolvers. It’s called to get access tokens and sharing domain tokens when handling operations that require these tokens. Token resolver can be attached to a Zxio object by calling set_token_resolver.

Functions§

directory_create_tmp_file
Create an anonymous temp file in the given directory.
directory_open_async
Open the given path in the given directory without blocking.
directory_open_directory_async
Open a directory at the given path in the given directory without blocking.
directory_open_vmo
Open a VMO at the given path in the given directory.
directory_read_file
Read the content of the file at the given path in the given directory.