[−][src]Struct libaiofut::AIOManager
Manager all AIOs.
Implementations
impl<S: AIOSchedulerIn> AIOManager<S>
[src]
pub fn new<T: AIOSchedulerOut + Send + 'static>(
scheduler: (S, T),
maxevents: usize,
max_nops: Option<u16>,
timeout: Option<u32>
) -> Result<Self, Error>
[src]
scheduler: (S, T),
maxevents: usize,
max_nops: Option<u16>,
timeout: Option<u32>
) -> Result<Self, Error>
pub fn read(
&mut self,
fd: RawFd,
offset: u64,
length: usize,
priority: Option<u16>
) -> AIOFuture
[src]
&mut self,
fd: RawFd,
offset: u64,
length: usize,
priority: Option<u16>
) -> AIOFuture
pub fn write(
&mut self,
fd: RawFd,
offset: u64,
data: Box<[u8]>,
priority: Option<u16>
) -> AIOFuture
[src]
&mut self,
fd: RawFd,
offset: u64,
data: Box<[u8]>,
priority: Option<u16>
) -> AIOFuture
Trait Implementations
impl<S: AIOSchedulerIn> Drop for AIOManager<S>
[src]
Auto Trait Implementations
impl<S> !RefUnwindSafe for AIOManager<S>
impl<S> Send for AIOManager<S> where
S: Send,
S: Send,
impl<S> Sync for AIOManager<S> where
S: Sync,
S: Sync,
impl<S> Unpin for AIOManager<S> where
S: Unpin,
S: Unpin,
impl<S> !UnwindSafe for AIOManager<S>
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,