Crate distant_protocol
source ·Expand description
distant protocol
Details
The distant-protocol
library supplies the structs and enums that make up the
messaging structure for distant.
Installation
You can import the dependency by adding the following to your Cargo.toml
:
[dependencies]
distant-protocol = "0.20"
License
This project is licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.
Re-exports
pub use semver;
Structs
- Change to a path on the filesystem.
- Optional details about a change.
- Represents a distinct set of different change kinds
- Represents some command with arguments to execute
- Represents information about a single entry within a directory
- General purpose error type that can be sent across the wire
- Represents metadata about some path on a remote machine.
- Represents permissions to apply to some path on a remote machine
- Represents the size associated with a remote PTY
- An iterator over the variants of Self
- Represents a query to perform against the filesystem
- Represents details for a match on a file’s contents
- Options associated with a search query
- Represents details for a match on a path
- Represents information about a system
- Represents unix-specific metadata about some path on a remote machine.
- Represents version information.
- Represents windows-specific metadata about some path on a remote machine
Enums
- Specific details about modification
- Represents a label attached to a
Change
that describes the kind of change. - All possible kinds of errors that can be returned
- Represents the type associated with a dir entry
- Represents a wrapper around a message, supporting single and batch payloads.
- Represents the payload of a request to be performed on the remote machine
- Represents the payload of a successful response
- Auto-generated discriminant enum variants
- Condition used to find a match in a search query
- Represents a match for a search query
- Kind of data to examine using conditions
Constants
- Protocol version of major/minor/patch.
Functions
- Returns true if the provided version is compatible with the protocol version.
Type Definitions
- Mapping of environment variables
- Id for a remote process
- Id associated with a search