smb-server 0.10.0

SMB2/3 file-sharing server library with pluggable storage backends.
Documentation
//! NTSTATUS values (MS-ERREF ยง2.3.1).

pub const STATUS_SUCCESS: u32 = 0x0000_0000;
pub const STATUS_PENDING: u32 = 0x0000_0103;
pub const STATUS_NOTIFY_CLEANUP: u32 = 0x0000_010B;
pub const STATUS_NOTIFY_ENUM_DIR: u32 = 0x0000_010C;
pub const STATUS_BUFFER_OVERFLOW: u32 = 0x8000_0005;
pub const STATUS_NO_MORE_FILES: u32 = 0x8000_0006;
pub const STATUS_NO_MORE_EAS: u32 = 0x8000_0012;
pub const STATUS_INVALID_EA_NAME: u32 = 0x8000_0013;
pub const STATUS_EA_LIST_INCONSISTENT: u32 = 0x8000_0014;

pub const STATUS_UNSUCCESSFUL: u32 = 0xC000_0001;
pub const STATUS_INVALID_HANDLE: u32 = 0xC000_0008;
pub const STATUS_INVALID_PARAMETER: u32 = 0xC000_000D;
pub const STATUS_NO_SUCH_FILE: u32 = 0xC000_000F;
pub const STATUS_OBJECT_NAME_NOT_FOUND: u32 = 0xC000_0034;
pub const STATUS_INVALID_DEVICE_REQUEST: u32 = 0xC000_0010;
pub const STATUS_END_OF_FILE: u32 = 0xC000_0011;
pub const STATUS_INVALID_VIEW_SIZE: u32 = 0xC000_001F;
pub const STATUS_MORE_PROCESSING_REQUIRED: u32 = 0xC000_0016;
pub const STATUS_ACCESS_DENIED: u32 = 0xC000_0022;
pub const STATUS_BUFFER_TOO_SMALL: u32 = 0xC000_0023;
pub const STATUS_OBJECT_TYPE_MISMATCH: u32 = 0xC000_0024;
pub const STATUS_OBJECT_NAME_INVALID: u32 = 0xC000_0033;
pub const STATUS_OBJECT_NAME_COLLISION: u32 = 0xC000_0035;
pub const STATUS_OBJECT_PATH_NOT_FOUND: u32 = 0xC000_003A;
pub const STATUS_OBJECT_PATH_SYNTAX_BAD: u32 = 0xC000_003B;
pub const STATUS_SHARING_VIOLATION: u32 = 0xC000_0043;
pub const STATUS_DELETE_PENDING: u32 = 0xC000_0056;
pub const STATUS_LOGON_FAILURE: u32 = 0xC000_006D;
pub const STATUS_FS_DRIVER_REQUIRED: u32 = 0xC000_019C;
pub const STATUS_NOT_SUPPORTED: u32 = 0xC000_00BB;
pub const STATUS_FILE_IS_A_DIRECTORY: u32 = 0xC000_00BA;
pub const STATUS_NOT_SAME_DEVICE: u32 = 0xC000_00D4;
pub const STATUS_NETWORK_NAME_DELETED: u32 = 0xC000_00C9;
pub const STATUS_BAD_NETWORK_NAME: u32 = 0xC000_00CC;
pub const STATUS_INSUFFICIENT_RESOURCES: u32 = 0xC000_009A;
pub const STATUS_BAD_IMPERSONATION_LEVEL: u32 = 0xC000_00A5;
pub const STATUS_PIPE_BUSY: u32 = 0xC000_00AE;
pub const STATUS_PIPE_DISCONNECTED: u32 = 0xC000_00B0;
pub const STATUS_UNEXPECTED_IO_ERROR: u32 = 0xC000_00E9;
pub const STATUS_INTERNAL_ERROR: u32 = 0xC000_00E5;
pub const STATUS_DIRECTORY_NOT_EMPTY: u32 = 0xC000_0101;
pub const STATUS_CANCELLED: u32 = 0xC000_0120;
pub const STATUS_PIPE_BROKEN: u32 = 0xC000_014B;
pub const STATUS_CANNOT_DELETE: u32 = 0xC000_0121;
pub const STATUS_NOT_A_DIRECTORY: u32 = 0xC000_0103;
pub const STATUS_USER_SESSION_DELETED: u32 = 0xC000_0203;
pub const STATUS_DUPLICATE_OBJECTID: u32 = 0xC000_022A;
pub const STATUS_INFO_LENGTH_MISMATCH: u32 = 0xC000_0004;
pub const STATUS_FILE_CLOSED: u32 = 0xC000_0128;
pub const STATUS_IO_REPARSE_TAG_NOT_HANDLED: u32 = 0xC000_0279;
pub const STATUS_INVALID_INFO_CLASS: u32 = 0xC000_0003;
pub const STATUS_NO_EAS_ON_FILE: u32 = 0xC000_0052;
pub const STATUS_NONE_MAPPED: u32 = 0xC000_0073;

pub const STATUS_REQUEST_NOT_ACCEPTED: u32 = 0xC000_00D0;
pub const STATUS_INVALID_DEVICE_STATE: u32 = 0xC000_0184;
pub const STATUS_ACCOUNT_LOCKED_OUT: u32 = 0xC000_0234;
pub const STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP: u32 = 0xC05D_0000;

pub const STATUS_EAS_NOT_SUPPORTED: u32 = 0xC000_004F;
pub const STATUS_EA_TOO_LARGE: u32 = 0xC000_0050;
pub const STATUS_NONEXISTENT_EA_ENTRY: u32 = 0xC000_0051;
pub const STATUS_EA_CORRUPT_ERROR: u32 = 0xC000_0053;
pub const STATUS_FILE_LOCK_CONFLICT: u32 = 0xC000_0054;
pub const STATUS_LOCK_NOT_GRANTED: u32 = 0xC000_0055;
pub const STATUS_RANGE_NOT_LOCKED: u32 = 0xC000_007E;
pub const STATUS_INVALID_LOCK_RANGE: u32 = 0xC000_01A1;

pub const STATUS_DISK_FULL: u32 = 0xC000_007F;
pub const STATUS_DISK_QUOTA_EXCEEDED: u32 = 0xC000_0802;