Crate smb

Source

Re-exports§

pub use client::Client;
pub use client::ClientConfig;
pub use client::UncPath;
pub use connection::Connection;
pub use connection::ConnectionConfig;
pub use error::Error;
pub use resource::Directory;
pub use resource::File;
pub use resource::FileCreateArgs;
pub use resource::Resource;
pub use session::Session;
pub use tree::DfsRootTreeRef;
pub use tree::Tree;

Modules§

client
High-level SMB client interface.
compression
Implements (de)compression logic.
connection
crypto
dialects
Implements SMB-dialect-specific types and functions.
error
msg_handler
packets
resource
session
SMB Session logic module.
sync_helpers
This is a helper module that allows easy access and usage of Async/Multi-threaded features in the library, according to the features enabled.
tree

Macros§

access_mask
Macro for defining a bitfield for an access mask. It’s input is the name of the struct to generate, and in {}, the list of fields to add before the common fields. include support for #[skip] fields, without visibility (all fields are public).
file_info_classes
A macro for generating a file class enums, for both the file information class, and information value. including a trait for the value types.
guid
A macro to create a Guid from a string literal at compile time.
query_info_data
Internal helper macro to easily generate fields & methods for QueryInfoData.

Type Aliases§

Result