pub struct StreamObject {
pub group: Arc<StreamGroup>,
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<StreamGroup>
§object_id: u64
§size: usize
§status: ObjectStatus
Implementations§
Source§impl StreamObject
impl StreamObject
pub fn produce(self) -> (StreamObjectWriter, StreamObjectReader)
Trait Implementations§
Source§impl Clone for StreamObject
impl Clone for StreamObject
Source§fn clone(&self) -> StreamObject
fn clone(&self) -> StreamObject
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 StreamObject
impl Debug for StreamObject
Source§impl Deref for StreamObject
impl Deref for StreamObject
Source§impl PartialEq for StreamObject
impl PartialEq for StreamObject
impl StructuralPartialEq for StreamObject
Auto Trait Implementations§
impl Freeze for StreamObject
impl RefUnwindSafe for StreamObject
impl Send for StreamObject
impl Sync for StreamObject
impl Unpin for StreamObject
impl UnwindSafe for StreamObject
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