pub struct OwnedWrite {
pub offset: u64,
pub bytes: Bytes,
}Expand description
One owned positional write whose buffer remains live through completion.
Fields§
§offset: u64Absolute file offset for the first byte.
bytes: BytesBytes written completely or reported as an error.
Trait Implementations§
Source§impl Clone for OwnedWrite
impl Clone for OwnedWrite
Source§impl Debug for OwnedWrite
impl Debug for OwnedWrite
impl Eq for OwnedWrite
Source§impl PartialEq for OwnedWrite
impl PartialEq for OwnedWrite
impl StructuralPartialEq for OwnedWrite
Auto Trait Implementations§
impl !Freeze for OwnedWrite
impl RefUnwindSafe for OwnedWrite
impl Send for OwnedWrite
impl Sync for OwnedWrite
impl Unpin for OwnedWrite
impl UnsafeUnpin for OwnedWrite
impl UnwindSafe for OwnedWrite
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