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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงdefault unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)