pub struct CreateObject<T: SessionTrait> { /* private fields */ }
Implementations§
Source§impl<T> CreateObject<T>where
T: SessionTrait,
impl<T> CreateObject<T>where
T: SessionTrait,
pub fn with_key(self, value: String255) -> Self
pub fn with_value(self, value: Value) -> Self
pub fn with_context(self, value: Context) -> Self
pub fn with_category(self, value: Category) -> Self
pub fn with_class(self, value: Class) -> Self
pub fn with_mode(self, value: Mode) -> Self
pub fn with_outlet(self, value: Entity) -> Self
pub fn with_server(self, value: Entity) -> Self
Trait Implementations§
Source§impl IntoFuture for CreateObject<SessionAsync>
impl IntoFuture for CreateObject<SessionAsync>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<Entity, CallError>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<Entity, CallError>> + Send>>
Which kind of future are we turning this into?
Source§type Output = <<CreateObject<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<CreateObject<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<T> Freeze for CreateObject<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreateObject<T>where
T: RefUnwindSafe,
impl<T> Send for CreateObject<T>where
T: Send,
impl<T> Sync for CreateObject<T>where
T: Sync,
impl<T> Unpin for CreateObject<T>where
T: Unpin,
impl<T> UnwindSafe for CreateObject<T>where
T: UnwindSafe,
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