[−][src]Struct memflow::connector::inventory::ConnectorInstance
Describes initialized connector instance
This structure is returned by Connector
. It is needed to maintain reference
counts to the loaded connector library.
Trait Implementations
impl Clone for ConnectorInstance
[src]
fn clone(&self) -> ConnectorInstance
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Deref for ConnectorInstance
[src]
type Target = dyn CloneablePhysicalMemory
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for ConnectorInstance
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConnectorInstance
impl Send for ConnectorInstance
impl !Sync for ConnectorInstance
impl Unpin for ConnectorInstance
impl !UnwindSafe for ConnectorInstance
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneablePhysicalMemory for T where
T: PhysicalMemory + Clone + 'static,
[src]
T: PhysicalMemory + Clone + 'static,
fn clone_box(&Self) -> Box<dyn CloneablePhysicalMemory + 'static>
[src]
fn downcast(&mut Self) -> &mut dyn PhysicalMemory
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, P> PhysicalMemory for P where
P: Send + DerefMut<Target = T>,
T: PhysicalMemory + ?Sized,
[src]
P: Send + DerefMut<Target = T>,
T: PhysicalMemory + ?Sized,
fn phys_read_raw_list(
&mut Self,
&mut [PhysicalReadData<'_>]
) -> Result<(), Error>
[src]
&mut Self,
&mut [PhysicalReadData<'_>]
) -> Result<(), Error>
fn phys_write_raw_list(&mut Self, &[PhysicalWriteData<'_>]) -> Result<(), Error>
[src]
fn metadata(&Self) -> PhysicalMemoryMetadata
[src]
fn phys_read_raw_into(
&mut self,
addr: PhysicalAddress,
out: &mut [u8]
) -> Result<()>
[src]
&mut self,
addr: PhysicalAddress,
out: &mut [u8]
) -> Result<()>
fn phys_read_into<T: Pod + ?Sized>(
&mut self,
addr: PhysicalAddress,
out: &mut T
) -> Result<()> where
Self: Sized,
[src]
&mut self,
addr: PhysicalAddress,
out: &mut T
) -> Result<()> where
Self: Sized,
fn phys_read_raw(
&mut self,
addr: PhysicalAddress,
len: usize
) -> Result<Vec<u8>>
[src]
&mut self,
addr: PhysicalAddress,
len: usize
) -> Result<Vec<u8>>
fn phys_read<T: Pod + Sized>(&mut self, addr: PhysicalAddress) -> Result<T> where
Self: Sized,
[src]
Self: Sized,
fn phys_write_raw(&mut self, addr: PhysicalAddress, data: &[u8]) -> Result<()>
[src]
fn phys_write<T: Pod + ?Sized>(
&mut self,
addr: PhysicalAddress,
data: &T
) -> Result<()> where
Self: Sized,
[src]
&mut self,
addr: PhysicalAddress,
data: &T
) -> Result<()> where
Self: Sized,
fn phys_batcher(&mut self) -> PhysicalMemoryBatcher<'_, Self> where
Self: Sized,
[src]
Self: Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,