Skip to main content

Crate shuru_proto

Crate shuru_proto 

Source

Modules§

frame
Binary framing for all vsock communication.
watch_kind
Binary watch event kinds.

Structs§

ChmodRequest
CopyRequest
DirEntry
DiscardRequest
Discard overlay changes for a file: removes it from the overlay upper dir, revealing the original host version from the lower layer.
DownloadProgress
DownloadRequest
ExecRequest
ForwardRequest
Sent by the host over vsock to request forwarding to a guest port.
ForwardResponse
Sent by the guest in response to a ForwardRequest.
FsOkResponse
MkdirRequest
MountRequest
Sent by the host over vsock to instruct the guest to mount a virtiofs device.
MountResponse
Sent by the guest in response to a MountRequest.
PortMapping
A host:guest port mapping for port forwarding over vsock.
ReadDirRequest
ReadDirResponse
ReadFileRequest
RemoveRequest
RenameRequest
StatRequest
StatResponse
WatchEvent
A filesystem watch event. Binary format: [u8 kind][path bytes...]
WatchRequest
WriteFileRequest
WriteFileResponse

Constants§

VSOCK_PORT
VSOCK_PORT_FORWARD