pub struct RegisteredClient { /* private fields */ }
Available on (crate features
rustls-tls
or native-tls
) and (crate features rustcrypto
or openssl
) only.Expand description
The client type returned when an UnregisteredClient successfully registers with its configured Interactsh server.
Implementations§
Source§impl RegisteredClient
impl RegisteredClient
Sourcepub fn get_interaction_url(&self) -> String
👎Deprecated since 0.2.0: Renaming for accuracy. Use get_interaction_fqdn() instead.
pub fn get_interaction_url(&self) -> String
Gets the interaction FQDN for the current registered session
For naming accuracy, this function has been replaced by get_interaction_fqdn().
Sourcepub fn get_interaction_fqdn(&self) -> String
pub fn get_interaction_fqdn(&self) -> String
Gets the interaction FQDN for the current registered session
Sourcepub async fn deregister(
self,
) -> Result<(), ClientRegistrationError<RegisteredClient>>
pub async fn deregister( self, ) -> Result<(), ClientRegistrationError<RegisteredClient>>
Deregisters the RegisteredClient with the Interactsh server.
If the deregistration fails, this returns a ClientRegistrationError, which contains a clone of this client if another try is needed.
Trait Implementations§
Source§impl Clone for RegisteredClient
impl Clone for RegisteredClient
Source§fn clone(&self) -> RegisteredClient
fn clone(&self) -> RegisteredClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RegisteredClient
impl !RefUnwindSafe for RegisteredClient
impl Send for RegisteredClient
impl Sync for RegisteredClient
impl Unpin for RegisteredClient
impl !UnwindSafe for RegisteredClient
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