pub struct OpenFileRequest<'a> { /* private fields */ }
Implementations§
Source§impl<'a> OpenFileRequest<'a>
impl<'a> OpenFileRequest<'a>
Sourcepub const fn open(filename: Cow<'a, Path>) -> OpenFileRequest<'a>
pub const fn open(filename: Cow<'a, Path>) -> OpenFileRequest<'a>
Open file in read only mode
Trait Implementations§
Source§impl<'a> Clone for OpenFileRequest<'a>
impl<'a> Clone for OpenFileRequest<'a>
Source§fn clone(&self) -> OpenFileRequest<'a>
fn clone(&self) -> OpenFileRequest<'a>
Returns a copy 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<'a> Debug for OpenFileRequest<'a>
impl<'a> Debug for OpenFileRequest<'a>
Source§impl<'a> Serialize for OpenFileRequest<'a>
impl<'a> Serialize for OpenFileRequest<'a>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for OpenFileRequest<'a>
impl<'a> RefUnwindSafe for OpenFileRequest<'a>
impl<'a> Send for OpenFileRequest<'a>
impl<'a> Sync for OpenFileRequest<'a>
impl<'a> Unpin for OpenFileRequest<'a>
impl<'a> UnwindSafe for OpenFileRequest<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)