pub struct ObjectInfo {
pub track: Arc<Track>,
pub group_id: u64,
pub object_id: u64,
pub priority: u8,
pub status: ObjectStatus,
}
Expand description
Static information about the segment.
Fields§
§track: Arc<Track>
§group_id: u64
§object_id: u64
§priority: u8
§status: ObjectStatus
Implementations§
Source§impl ObjectInfo
impl ObjectInfo
pub fn produce(self) -> (ObjectWriter, ObjectReader)
Trait Implementations§
Source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
Source§fn clone(&self) -> ObjectInfo
fn clone(&self) -> ObjectInfo
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 ObjectInfo
impl Debug for ObjectInfo
Source§impl Deref for ObjectInfo
impl Deref for ObjectInfo
Source§impl PartialEq for ObjectInfo
impl PartialEq for ObjectInfo
impl StructuralPartialEq for ObjectInfo
Auto Trait Implementations§
impl Freeze for ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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