pub struct AntiCorruption<X, I>(/* private fields */);Expand description
Public handle to the ACL pattern.
Implementations§
Source§impl<X: Send + 'static, I: Send + 'static> AntiCorruption<X, I>
impl<X: Send + 'static, I: Send + 'static> AntiCorruption<X, I>
pub fn builder<T>(translator: T) -> AclBuilder<T>where
T: Translator<External = X, Internal = I>,
Auto Trait Implementations§
impl<X, I> Freeze for AntiCorruption<X, I>
impl<X, I> RefUnwindSafe for AntiCorruption<X, I>where
X: RefUnwindSafe,
I: RefUnwindSafe,
impl<X, I> Send for AntiCorruption<X, I>
impl<X, I> Sync for AntiCorruption<X, I>
impl<X, I> Unpin for AntiCorruption<X, I>
impl<X, I> UnsafeUnpin for AntiCorruption<X, I>
impl<X, I> UnwindSafe for AntiCorruption<X, I>where
X: UnwindSafe,
I: UnwindSafe,
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