pub struct TargetError {
pub error: Option<String>,
pub host: Option<String>,
pub port: Option<i64>,
}Expand description
TargetError : TargetError represents a failed target scan
Fields§
§error: Option<String>§host: Option<String>§port: Option<i64>Implementations§
Source§impl TargetError
impl TargetError
Sourcepub fn new() -> TargetError
pub fn new() -> TargetError
TargetError represents a failed target scan
Trait Implementations§
Source§impl Clone for TargetError
impl Clone for TargetError
Source§fn clone(&self) -> TargetError
fn clone(&self) -> TargetError
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 TargetError
impl Debug for TargetError
Source§impl Default for TargetError
impl Default for TargetError
Source§fn default() -> TargetError
fn default() -> TargetError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetError
impl<'de> Deserialize<'de> for TargetError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TargetError
impl PartialEq for TargetError
Source§fn eq(&self, other: &TargetError) -> bool
fn eq(&self, other: &TargetError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetError
impl Serialize for TargetError
impl StructuralPartialEq for TargetError
Auto Trait Implementations§
impl Freeze for TargetError
impl RefUnwindSafe for TargetError
impl Send for TargetError
impl Sync for TargetError
impl Unpin for TargetError
impl UnsafeUnpin for TargetError
impl UnwindSafe for TargetError
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