pub struct ExternalFile(/* private fields */);Expand description
Pointer to an external file.
Implementations§
Source§impl ExternalFile
impl ExternalFile
Sourcepub fn new(path: SecretPath, file_name: ExternalFileName) -> Self
pub fn new(path: SecretPath, file_name: ExternalFileName) -> Self
Create a new external file reference.
Sourcepub fn file_name(&self) -> &ExternalFileName
pub fn file_name(&self) -> &ExternalFileName
File name.
Trait Implementations§
Source§impl Clone for ExternalFile
impl Clone for ExternalFile
Source§fn clone(&self) -> ExternalFile
fn clone(&self) -> ExternalFile
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 ExternalFile
impl Debug for ExternalFile
Source§impl Display for ExternalFile
impl Display for ExternalFile
Source§impl From<ExternalFile> for (SecretPath, ExternalFileName)
impl From<ExternalFile> for (SecretPath, ExternalFileName)
Source§fn from(value: ExternalFile) -> Self
fn from(value: ExternalFile) -> Self
Converts to this type from the input type.
Source§impl From<ExternalFile> for FileEvent
Available on crate feature files only.
impl From<ExternalFile> for FileEvent
Available on crate feature
files only.Source§fn from(value: ExternalFile) -> Self
fn from(value: ExternalFile) -> Self
Converts to this type from the input type.
Source§impl FromStr for ExternalFile
impl FromStr for ExternalFile
Source§impl Hash for ExternalFile
impl Hash for ExternalFile
Source§impl PartialEq for ExternalFile
impl PartialEq for ExternalFile
impl Copy for ExternalFile
impl Eq for ExternalFile
impl StructuralPartialEq for ExternalFile
Auto Trait Implementations§
impl Freeze for ExternalFile
impl RefUnwindSafe for ExternalFile
impl Send for ExternalFile
impl Sync for ExternalFile
impl Unpin for ExternalFile
impl UnwindSafe for ExternalFile
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