pub struct LinuxBackend { /* private fields */ }Implementations§
Source§impl LinuxBackend
impl LinuxBackend
pub fn new(options: BackendOptions) -> Self
pub fn display(&self) -> &str
pub fn artifacts_dir(&self) -> &Path
pub fn browser_command(&self) -> &str
pub fn capabilities(&self) -> Vec<String>
pub async fn observation(&self) -> Result<Observation, StructuredError>
pub async fn screenshot_png( &self, ) -> Result<(Vec<u8>, PathBuf), StructuredError>
pub async fn perform_action(&self, action: ActionRequest) -> ActionReceipt
pub fn tool_exists(tool: &str) -> bool
Trait Implementations§
Source§impl Clone for LinuxBackend
impl Clone for LinuxBackend
Source§fn clone(&self) -> LinuxBackend
fn clone(&self) -> LinuxBackend
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 LinuxBackend
impl RefUnwindSafe for LinuxBackend
impl Send for LinuxBackend
impl Sync for LinuxBackend
impl Unpin for LinuxBackend
impl UnsafeUnpin for LinuxBackend
impl UnwindSafe for LinuxBackend
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