pub struct RdpScanner {
pub host: String,
pub port: u16,
pub timeout_ms: u64,
}Fields§
§host: String§port: u16§timeout_ms: u64Implementations§
Source§impl RdpScanner
impl RdpScanner
pub fn build_info() -> ModuleInfo
Trait Implementations§
Source§impl Clone for RdpScanner
impl Clone for RdpScanner
Source§fn clone(&self) -> RdpScanner
fn clone(&self) -> RdpScanner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RdpScanner
impl Debug for RdpScanner
Source§impl Default for RdpScanner
impl Default for RdpScanner
Source§fn default() -> RdpScanner
fn default() -> RdpScanner
Returns the “default value” for a type. Read more
Source§impl Module for RdpScanner
impl Module for RdpScanner
fn options_json(&self) -> Value
fn set_option(&mut self, name: &str, value: &str) -> Result<(), ModuleError>
fn validate(&self) -> Result<(), ModuleError>
fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn dry_run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dry_run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ModuleResult, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Preview the module’s output without side effects (no network I/O).
Used by the executor to enforce DenyPayload rules pre-execution.
Auto Trait Implementations§
impl Freeze for RdpScanner
impl RefUnwindSafe for RdpScanner
impl Send for RdpScanner
impl Sync for RdpScanner
impl Unpin for RdpScanner
impl UnsafeUnpin for RdpScanner
impl UnwindSafe for RdpScanner
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