pub struct ListDirectory {
pub selection: DirectorySelection,
}Fields§
§selection: DirectorySelectionImplementations§
Source§impl ListDirectory
impl ListDirectory
pub fn definition() -> OperationDefinition
Trait Implementations§
Source§impl Clone for ListDirectory
impl Clone for ListDirectory
impl Contains<ListDirectory> for Storage
Source§impl Debug for ListDirectory
impl Debug for ListDirectory
Source§impl Described for ListDirectory
impl Described for ListDirectory
impl Eq for ListDirectory
Source§impl MemorySize for ListDirectory
impl MemorySize for ListDirectory
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 ListDirectory
impl OperationDeclaration for ListDirectory
const ID: &'static str = "storage.list_directory"
const OPERATIONS: &'static [WireDeclaration]
const POLICY: OperationPolicy = IO_POLICY
const VISIBILITY: Visibility = crate::operations::Visibility::Shared
const REPLAY: ReplaySafety = ReplaySafety::Idempotent
const GRPC: Option<Grpc>
type Request = ListDirectory
type Response = DirectoryCompletion
type Input = NoStream
type Output = Stream<DirectoryEntry>
const DESCRIPTION: &'static str = ""
fn definition() -> OperationDefinition
fn grant(_request: &Self::Request) -> Option<Grant>
fn key(_request: &Self::Request) -> Option<CacheKey>
Source§impl PartialEq for ListDirectory
impl PartialEq for ListDirectory
impl StructuralPartialEq for ListDirectory
Source§impl Value for ListDirectory
impl Value for ListDirectory
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 ListDirectory
impl RefUnwindSafe for ListDirectory
impl Send for ListDirectory
impl Sync for ListDirectory
impl Unpin for ListDirectory
impl UnsafeUnpin for ListDirectory
impl UnwindSafe for ListDirectory
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