pub struct FileDescWithId<T: FileDescription + ?Sized> {
id: FdId,
file_description: Box<T>,
}
Expand description
Structure contains both the file description and its unique identifier.
Fields§
§id: FdId
§file_description: Box<T>
Trait Implementations§
Source§impl<T: Clone + FileDescription + ?Sized> Clone for FileDescWithId<T>
impl<T: Clone + FileDescription + ?Sized> Clone for FileDescWithId<T>
Source§fn clone(&self) -> FileDescWithId<T>
fn clone(&self) -> FileDescWithId<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for FileDescWithId<T>where
T: ?Sized,
impl<T> RefUnwindSafe for FileDescWithId<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for FileDescWithId<T>
impl<T> Sync for FileDescWithId<T>
impl<T> Unpin for FileDescWithId<T>where
T: ?Sized,
impl<T> UnwindSafe for FileDescWithId<T>where
T: UnwindSafe + ?Sized,
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
)Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.