Trait redox_buffer_pool::GuardedMut[][src]

pub unsafe trait GuardedMut: Guarded {
    fn borrow_guarded_mut(&mut self) -> &mut Self::Target;
}
Expand description

A trait for pointer types that uphold the guard invariants, and are able to dereference mutably.

Required methods

Borrow the pointee mutably, into a fixed reference that can be sent directly and safely to e.g. memory-sharing completion-based I/O interfaces.

Implementors of such interfaces must however take buffers by reference to maintain safety.

Implementations on Foreign Types

Implementors