pub struct WatchDirectory {
pub selection: DirectorySelection,
pub include_existing: bool,
}Fields§
§selection: DirectorySelection§include_existing: boolTrait Implementations§
Source§impl Clone for WatchDirectory
impl Clone for WatchDirectory
Source§fn clone(&self) -> WatchDirectory
fn clone(&self) -> WatchDirectory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Contains<WatchDirectory> for Operations
Source§impl Debug for WatchDirectory
impl Debug for WatchDirectory
Source§impl Described for WatchDirectory
impl Described for WatchDirectory
impl Eq for WatchDirectory
Source§impl MemorySize for WatchDirectory
impl MemorySize for WatchDirectory
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 WatchDirectory
impl OperationDeclaration for WatchDirectory
const ID: &'static str = "storage.watch_directory"
const VERSION: u32 = 1
const POLICY: OperationPolicy = IO_POLICY
const VISIBILITY: Visibility = Visibility::Shared
const REPLAY: ReplaySafety = ReplaySafety::Idempotent
const GRPC: Option<Grpc>
type Response = DirectoryCompletion
type Input = NoStream
type Output = Stream<DirectoryEvent>
const DESCRIPTION: &'static str = ""
fn grant(&self) -> Option<Grant>
fn key(&self) -> Option<CacheKey>
Source§impl PartialEq for WatchDirectory
impl PartialEq for WatchDirectory
impl StructuralPartialEq for WatchDirectory
Source§impl Value for WatchDirectory
impl Value for WatchDirectory
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<WatchDirectory, 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 WatchDirectory
impl RefUnwindSafe for WatchDirectory
impl Send for WatchDirectory
impl Sync for WatchDirectory
impl Unpin for WatchDirectory
impl UnsafeUnpin for WatchDirectory
impl UnwindSafe for WatchDirectory
Blanket Implementations§
impl<T> Allocation for T
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