[−][src]Struct transfer::Tr
Methods
impl<T: Transfer> Tr<T>
[src]
pub fn from_empty(empty: T) -> Self
[src]
Auto Trait Implementations
impl<T: ?Sized> Send for Tr<T> where
T: Send,
T: Send,
impl<T: ?Sized> Sync for Tr<T> where
T: Sync,
T: Sync,
impl<T: ?Sized> Unpin for Tr<T> where
T: Unpin,
T: Unpin,
impl<T: ?Sized> UnwindSafe for Tr<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T: ?Sized> RefUnwindSafe for Tr<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<U, T> FromUnpinned<Unpinned<U, T>> for T where
T: FromUnpinned<U>,
[src]
T: FromUnpinned<U>,
type PinData = <T as FromUnpinned<U>>::PinData
This associated type can be used to retain information between the creation of the instance and its pinning. This allows for some sort of "two-steps initialization" without having to store the initialization part in the type itself. Read more
unsafe fn from_unpinned(
src: Unpinned<U, T>
) -> (T, <T as FromUnpinned<Unpinned<U, T>>>::PinData)
[src]
src: Unpinned<U, T>
) -> (T, <T as FromUnpinned<Unpinned<U, T>>>::PinData)
unsafe fn on_pin(
&mut self,
pin_data: <T as FromUnpinned<Unpinned<U, T>>>::PinData
)
[src]
&mut self,
pin_data: <T as FromUnpinned<Unpinned<U, T>>>::PinData
)