pub struct SystemSchemaSourceService;Expand description
Zero-sized adapter for the host filesystem.
Trait Implementations§
Source§impl Clone for SystemSchemaSourceService
impl Clone for SystemSchemaSourceService
Source§fn clone(&self) -> SystemSchemaSourceService
fn clone(&self) -> SystemSchemaSourceService
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 Copy for SystemSchemaSourceService
Source§impl Debug for SystemSchemaSourceService
impl Debug for SystemSchemaSourceService
Source§impl Default for SystemSchemaSourceService
impl Default for SystemSchemaSourceService
Source§fn default() -> SystemSchemaSourceService
fn default() -> SystemSchemaSourceService
Returns the “default value” for a type. Read more
Source§impl SchemaSourceService for SystemSchemaSourceService
impl SchemaSourceService for SystemSchemaSourceService
Source§fn canonicalize(&self, path: &Path) -> Result<PathBuf, SchemaSourceServiceError>
fn canonicalize(&self, path: &Path) -> Result<PathBuf, SchemaSourceServiceError>
Resolves one path to its canonical physical path.
Source§fn metadata(
&self,
path: &Path,
) -> Result<SchemaSourceObservation, SchemaSourceServiceError>
fn metadata( &self, path: &Path, ) -> Result<SchemaSourceObservation, SchemaSourceServiceError>
Observes one path while following symbolic links.
Source§fn symlink_metadata(
&self,
path: &Path,
) -> Result<SchemaSourceObservation, SchemaSourceServiceError>
fn symlink_metadata( &self, path: &Path, ) -> Result<SchemaSourceObservation, SchemaSourceServiceError>
Observes one path without following its final symbolic link.
Source§fn read_directory_names(
&self,
path: &Path,
) -> Result<Vec<OsString>, SchemaSourceServiceError>
fn read_directory_names( &self, path: &Path, ) -> Result<Vec<OsString>, SchemaSourceServiceError>
Returns direct entry names in ascending platform byte order.
Source§fn capture_file(
&self,
path: &Path,
maximum_bytes: usize,
) -> Result<SchemaSourceCapture, SchemaSourceServiceError>
fn capture_file( &self, path: &Path, maximum_bytes: usize, ) -> Result<SchemaSourceCapture, SchemaSourceServiceError>
Captures at most
maximum_bytes + 1 bytes with before/after observations.Auto Trait Implementations§
impl Freeze for SystemSchemaSourceService
impl RefUnwindSafe for SystemSchemaSourceService
impl Send for SystemSchemaSourceService
impl Sync for SystemSchemaSourceService
impl Unpin for SystemSchemaSourceService
impl UnsafeUnpin for SystemSchemaSourceService
impl UnwindSafe for SystemSchemaSourceService
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