pub struct GroupObject {
pub group: Arc<GroupInfo>,
pub object_id: u64,
pub size: usize,
pub status: ObjectStatus,
}
Expand description
A subset of Object, since we use the group’s info.
Fields§
§group: Arc<GroupInfo>
§object_id: u64
§size: usize
§status: ObjectStatus
Implementations§
Source§impl GroupObject
impl GroupObject
pub fn produce(self) -> (GroupObjectWriter, GroupObjectReader)
Trait Implementations§
Source§impl Clone for GroupObject
impl Clone for GroupObject
Source§fn clone(&self) -> GroupObject
fn clone(&self) -> GroupObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupObject
impl Debug for GroupObject
Source§impl Deref for GroupObject
impl Deref for GroupObject
Source§impl PartialEq for GroupObject
impl PartialEq for GroupObject
impl StructuralPartialEq for GroupObject
Auto Trait Implementations§
impl Freeze for GroupObject
impl RefUnwindSafe for GroupObject
impl Send for GroupObject
impl Sync for GroupObject
impl Unpin for GroupObject
impl UnwindSafe for GroupObject
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