Struct gmt_dos_actors_clients_interface::Data
source · pub struct Data<U: UniqueIdentifier>(/* private fields */);
Expand description
Actors I/O data wrapper
U
is the data unique identifier (UID).
Implementations§
source§impl<T, U: UniqueIdentifier<DataType = T>> Data<U>
impl<T, U: UniqueIdentifier<DataType = T>> Data<U>
sourcepub fn transmute<V: UniqueIdentifier<DataType = T>>(self) -> Data<V>
pub fn transmute<V: UniqueIdentifier<DataType = T>>(self) -> Data<V>
Consumes Data<U>
, returning Data<V>
with the wrapped value within
Trait Implementations§
source§impl<T, U: UniqueIdentifier<DataType = T>> Clone for Data<U>
impl<T, U: UniqueIdentifier<DataType = T>> Clone for Data<U>
source§impl<T, U: UniqueIdentifier<DataType = T>> Deref for Data<U>
impl<T, U: UniqueIdentifier<DataType = T>> Deref for Data<U>
source§impl<'de, U: UniqueIdentifier> Deserialize<'de> for Data<U>
impl<'de, U: UniqueIdentifier> Deserialize<'de> for Data<U>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T, U, V> From<&Data<V>> for Data<U>where
U: UniqueIdentifier<DataType = T>,
V: UniqueIdentifier<DataType = T>,
impl<T, U, V> From<&Data<V>> for Data<U>where
U: UniqueIdentifier<DataType = T>,
V: UniqueIdentifier<DataType = T>,
source§impl<T, U> PartialEq for Data<U>where
T: PartialEq,
U: UniqueIdentifier<DataType = T>,
impl<T, U> PartialEq for Data<U>where
T: PartialEq,
U: UniqueIdentifier<DataType = T>,
source§impl<U: UniqueIdentifier> Serialize for Data<U>
impl<U: UniqueIdentifier> Serialize for Data<U>
source§impl<U: UniqueIdentifier> Who<U> for Data<U>
impl<U: UniqueIdentifier> Who<U> for Data<U>
impl<T: Send, U: UniqueIdentifier<DataType = T>> Send for Data<U>
impl<T: Sync, U: UniqueIdentifier<DataType = T>> Sync for Data<U>
Auto Trait Implementations§
impl<U> Freeze for Data<U>
impl<U> RefUnwindSafe for Data<U>
impl<U> Unpin for Data<U>where
U: Unpin,
impl<U> UnwindSafe for Data<U>
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