pub struct LockedSeek<T: Seek> { /* private fields */ }
Expand description
Allow a Seek + (Read and/or Write) to impliment WriteAt and/or ReadAt
While in most cases more specific adaptations will be more efficient, this allows any Seek to impliment WriteAt or ReadAt with not additional restrictions.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for LockedSeek<T>
impl<T> RefUnwindSafe for LockedSeek<T>
impl<T> Send for LockedSeek<T>where
T: Send,
impl<T> Sync for LockedSeek<T>where
T: Send,
impl<T> Unpin for LockedSeek<T>where
T: Unpin,
impl<T> UnwindSafe for LockedSeek<T>
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