pub struct FetchEntries {}
Implementations§
Source§impl FetchEntries
impl FetchEntries
Sourcepub fn fetch_entries<EntryType: 'static + TryFrom<SerializedBytes, Error = SerializedBytesError>>(
&self,
fetch_links: &FetchLinks,
get_latest: &GetLatestEntry,
link_type: LinkTypeFilter,
link_tag: Option<LinkTag>,
entry_path: TypedPath,
fetch_options: FetchOptions,
get_options: GetOptions,
) -> Result<Vec<WireRecord<EntryType>>, WasmError>
pub fn fetch_entries<EntryType: 'static + TryFrom<SerializedBytes, Error = SerializedBytesError>>( &self, fetch_links: &FetchLinks, get_latest: &GetLatestEntry, link_type: LinkTypeFilter, link_tag: Option<LinkTag>, entry_path: TypedPath, fetch_options: FetchOptions, get_options: GetOptions, ) -> Result<Vec<WireRecord<EntryType>>, WasmError>
Fetch either all entries of a certain type (assuming they are linked to a path) or a specific subset given their entry hashes.
Trait Implementations§
Source§impl Clone for FetchEntries
impl Clone for FetchEntries
Source§fn clone(&self) -> FetchEntries
fn clone(&self) -> FetchEntries
Returns a duplicate 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 FetchEntries
impl Debug for FetchEntries
Source§impl PartialEq for FetchEntries
impl PartialEq for FetchEntries
impl StructuralPartialEq for FetchEntries
Auto Trait Implementations§
impl Freeze for FetchEntries
impl RefUnwindSafe for FetchEntries
impl Send for FetchEntries
impl Sync for FetchEntries
impl Unpin for FetchEntries
impl UnwindSafe for FetchEntries
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