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