pub struct Endpoint {
pub host: String,
pub port: u16,
pub user: String,
pub pass: String,
pub share: String,
}Expand description
The SMB server under test.
Fields§
§host: StringServer hostname or IP.
port: u16TCP port (445 by default).
user: StringUsername for authentication.
pass: StringPassword for authentication.
Share name to connect to.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
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