pub struct FollowStream {
pub after: Option<StorageCursor>,
pub selection: StreamSelection,
}Fields§
§after: Option<StorageCursor>§selection: StreamSelectionImplementations§
Source§impl FollowStream
impl FollowStream
pub fn definition() -> OperationDefinition
Trait Implementations§
Source§impl Clone for FollowStream
impl Clone for FollowStream
impl Contains<FollowStream> for Storage
Source§impl Debug for FollowStream
impl Debug for FollowStream
Source§impl Described for FollowStream
impl Described for FollowStream
impl Eq for FollowStream
Source§impl MemorySize for FollowStream
impl MemorySize for FollowStream
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl OperationDeclaration for FollowStream
impl OperationDeclaration for FollowStream
const ID: &'static str = "storage.follow_stream"
const OPERATIONS: &'static [WireDeclaration]
const POLICY: OperationPolicy = STREAM_POLICY
const VISIBILITY: Visibility = crate::operations::Visibility::Host
type Request = FollowStream
type Response = StorageCursor
type Input = NoStream
type Output = Stream<StoredRow>
const DESCRIPTION: &'static str = ""
const REPLAY: ReplaySafety = ReplaySafety::Unknown
const GRPC: Option<Grpc> = None
fn definition() -> OperationDefinition
fn grant(_request: &Self::Request) -> Option<Grant>
fn key(_request: &Self::Request) -> Option<CacheKey>
Source§impl PartialEq for FollowStream
impl PartialEq for FollowStream
impl StructuralPartialEq for FollowStream
Source§impl Value for FollowStream
impl Value for FollowStream
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut PostcardReader<'_>) -> Result<usize, MessageError>
fn read(input: &mut PostcardReader<'_>) -> Result<Self, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for FollowStream
impl RefUnwindSafe for FollowStream
impl Send for FollowStream
impl Sync for FollowStream
impl Unpin for FollowStream
impl UnsafeUnpin for FollowStream
impl UnwindSafe for FollowStream
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