Struct unftp_sbe_opendal::OpendalMetadata
source · pub struct OpendalMetadata(/* private fields */);
Expand description
A wrapper around [opendal::Metadata
] to implement libunftp::storage::Metadata
.
Trait Implementations§
source§impl Clone for OpendalMetadata
impl Clone for OpendalMetadata
source§fn clone(&self) -> OpendalMetadata
fn clone(&self) -> OpendalMetadata
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 Debug for OpendalMetadata
impl Debug for OpendalMetadata
source§impl Metadata for OpendalMetadata
impl Metadata for OpendalMetadata
source§fn is_symlink(&self) -> bool
fn is_symlink(&self) -> bool
Returns true if the path is a symbolic link.
source§fn modified(&self) -> Result<SystemTime>
fn modified(&self) -> Result<SystemTime>
Returns the last modified time of the path.
source§fn links(&self) -> u64
fn links(&self) -> u64
Returns the number of links to the file. The default implementation always returns
1
source§fn permissions(&self) -> Permissions
fn permissions(&self) -> Permissions
Returns the
permissions
of the file. The default implementation assumes unix permissions
and defaults to “rwxr-xr-x” (octal 7755)source§impl PartialEq for OpendalMetadata
impl PartialEq for OpendalMetadata
source§fn eq(&self, other: &OpendalMetadata) -> bool
fn eq(&self, other: &OpendalMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OpendalMetadata
impl StructuralPartialEq for OpendalMetadata
Auto Trait Implementations§
impl Freeze for OpendalMetadata
impl RefUnwindSafe for OpendalMetadata
impl Send for OpendalMetadata
impl Sync for OpendalMetadata
impl Unpin for OpendalMetadata
impl UnwindSafe for OpendalMetadata
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more