pub struct LocalIO<DP: DataProvider, UFH: UnitFinalizationHandler, US: AsyncWrite, UL: AsyncRead> { /* private fields */ }
Implementations§
Source§impl<H: Hasher, DP: DataProvider, FH: FinalizationHandler<DP::Output>, US: AsyncWrite, UL: AsyncRead> LocalIO<DP, FinalizationHandlerAdapter<FH, DP::Output, H>, US, UL>
impl<H: Hasher, DP: DataProvider, FH: FinalizationHandler<DP::Output>, US: AsyncWrite, UL: AsyncRead> LocalIO<DP, FinalizationHandlerAdapter<FH, DP::Output, H>, US, UL>
Source§impl<DP: DataProvider, UFH: UnitFinalizationHandler, US: AsyncWrite, UL: AsyncRead> LocalIO<DP, UFH, US, UL>
impl<DP: DataProvider, UFH: UnitFinalizationHandler, US: AsyncWrite, UL: AsyncRead> LocalIO<DP, UFH, US, UL>
pub fn new_with_unit_finalization_handler( data_provider: DP, finalization_handler: UFH, unit_saver: US, unit_loader: UL, ) -> Self
Trait Implementations§
Source§impl<DP: Clone + DataProvider, UFH: Clone + UnitFinalizationHandler, US: Clone + AsyncWrite, UL: Clone + AsyncRead> Clone for LocalIO<DP, UFH, US, UL>
impl<DP: Clone + DataProvider, UFH: Clone + UnitFinalizationHandler, US: Clone + AsyncWrite, UL: Clone + AsyncRead> Clone for LocalIO<DP, UFH, US, UL>
Auto Trait Implementations§
impl<DP, UFH, US, UL> Freeze for LocalIO<DP, UFH, US, UL>
impl<DP, UFH, US, UL> RefUnwindSafe for LocalIO<DP, UFH, US, UL>
impl<DP, UFH, US, UL> Send for LocalIO<DP, UFH, US, UL>
impl<DP, UFH, US, UL> Sync for LocalIO<DP, UFH, US, UL>
impl<DP, UFH, US, UL> Unpin for LocalIO<DP, UFH, US, UL>
impl<DP, UFH, US, UL> UnwindSafe for LocalIO<DP, UFH, US, UL>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more