pub struct FileSystemId(/* private fields */);Expand description
Stable identity of one configured filesystem object.
§Examples
use qubit_fs::metadata::FileSystemId;
let id = FileSystemId::new("local-instance")?;
assert_eq!("local-instance", id.as_str());Implementations§
Trait Implementations§
Source§impl Clone for FileSystemId
impl Clone for FileSystemId
Source§impl Debug for FileSystemId
impl Debug for FileSystemId
Source§impl Display for FileSystemId
impl Display for FileSystemId
impl Eq for FileSystemId
Source§impl Hash for FileSystemId
impl Hash for FileSystemId
Source§impl Ord for FileSystemId
impl Ord for FileSystemId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FileSystemId
impl PartialEq for FileSystemId
Source§impl PartialOrd for FileSystemId
impl PartialOrd for FileSystemId
impl StructuralPartialEq for FileSystemId
Auto Trait Implementations§
impl Freeze for FileSystemId
impl RefUnwindSafe for FileSystemId
impl Send for FileSystemId
impl Sync for FileSystemId
impl Unpin for FileSystemId
impl UnsafeUnpin for FileSystemId
impl UnwindSafe for FileSystemId
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