Struct sea_streamer_file::FileId
source · pub struct FileId { /* private fields */ }
Expand description
Basically a file path.
Implementations§
source§impl FileId
impl FileId
pub fn new<T: Into<String>>(path: T) -> Self
pub fn path(&self) -> &str
pub fn to_streamer_uri(&self) -> Result<StreamerUri, StreamUrlErr>
Trait Implementations§
source§impl Ord for FileId
impl Ord for FileId
1.21.0 · 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
source§impl PartialEq for FileId
impl PartialEq for FileId
source§impl PartialOrd for FileId
impl PartialOrd for FileId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for FileId
impl StructuralPartialEq for FileId
Auto Trait Implementations§
impl Freeze for FileId
impl RefUnwindSafe for FileId
impl Send for FileId
impl Sync for FileId
impl Unpin for FileId
impl UnwindSafe for FileId
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