pub struct StreamObjectNames { /* private fields */ }
Expand description
this defines the stream-object-names
resource which is a representation of stream
Implementations§
Source§impl StreamObjectNames
impl StreamObjectNames
Sourcepub fn read_stream_object_names(
&self,
len: u64,
) -> Result<(Vec<ObjectName>, bool), Error>
pub fn read_stream_object_names( &self, len: u64, ) -> Result<(Vec<ObjectName>, bool), Error>
reads the next number of objects from the stream
This function returns the list of objects read, and a boolean indicating if the end of the stream was reached.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StreamObjectNames
impl RefUnwindSafe for StreamObjectNames
impl Send for StreamObjectNames
impl Sync for StreamObjectNames
impl Unpin for StreamObjectNames
impl UnwindSafe for StreamObjectNames
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