[][src]Struct usb2snes::Connection

pub struct Connection { /* fields omitted */ }

Implementations

impl Connection[src]

pub async fn new<'_>(addr: &'_ str) -> Result<Connection, Error>[src]

pub async fn close(__arg0: Self) -> Result<(), Error>[src]

pub async fn get_device_list<'_>(&'_ mut self) -> Result<Vec<String>, Error>[src]

pub async fn attach<'_, '_>(&'_ mut self, device: &'_ str) -> Result<(), Error>[src]

pub async fn get_info<'_>(&'_ mut self) -> Result<Vec<String>, Error>[src]

pub async fn list_files<'_, '_>(
    &'_ mut self,
    path: &'_ str
) -> Result<Vec<FileInfo>, Error>
[src]

pub async fn put_file<'_, '_, '_>(
    &'_ mut self,
    path: &'_ str,
    data: &'_ [u8]
) -> Result<(), Error>
[src]

pub async fn rm<'_, '_>(&'_ mut self, path: &'_ str) -> Result<(), Error>[src]

pub async fn read_mem<'_, '_>(
    &'_ mut self,
    addr: u32,
    data: &'_ mut [u8]
) -> Result<(), Error>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,