pub struct Session<'a> { /* private fields */ }
Expand description
Represents a Frida session.
Implementations§
source§impl<'a> Session<'a>
impl<'a> Session<'a>
sourcepub fn is_detached(&self) -> bool
pub fn is_detached(&self) -> bool
Returns if the session is detached or not.
sourcepub fn create_script<'b>(
&'a self,
source: &str,
option: &mut ScriptOption
) -> Result<Script<'b>>where
'a: 'b,
pub fn create_script<'b>(
&'a self,
source: &str,
option: &mut ScriptOption
) -> Result<Script<'b>>where
'a: 'b,
Creates a Script
attached to current session.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Session<'a>
impl<'a> RefUnwindSafe for Session<'a>
impl<'a> !Send for Session<'a>
impl<'a> !Sync for Session<'a>
impl<'a> Unpin for Session<'a>
impl<'a> UnwindSafe for Session<'a>
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