pub struct SmbConfig {
pub host: String,
pub share: String,
pub username: String,
pub password: String,
pub port: Option<u16>,
pub workgroup: Option<String>,
}Expand description
SMB connection configuration.
Fields§
§host: String§username: String§password: String§port: Option<u16>§workgroup: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SmbConfig
impl RefUnwindSafe for SmbConfig
impl Send for SmbConfig
impl Sync for SmbConfig
impl Unpin for SmbConfig
impl UnsafeUnpin for SmbConfig
impl UnwindSafe for SmbConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more