pub struct CreateEntity<T: SessionTrait> { /* private fields */ }
Implementations§
Source§impl<T> CreateEntity<T>where
T: SessionTrait,
impl<T> CreateEntity<T>where
T: SessionTrait,
pub fn with_outlet(self, value: Entity) -> Self
pub fn with_server(self, value: Entity) -> Self
pub fn with_key(self, value: String255) -> 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_method(self, value: Method) -> Self
pub fn with_attribute(self, value: Attribute) -> Self
pub fn with_event(self, value: Event) -> Self
pub fn with_precedence(self, value: u16) -> Self
pub fn with_timeout(self, value: i64) -> Self
Trait Implementations§
Source§impl IntoFuture for CreateEntity<SessionAsync>
impl IntoFuture for CreateEntity<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 = <<CreateEntity<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<CreateEntity<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 CreateEntity<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreateEntity<T>where
T: RefUnwindSafe,
impl<T> Send for CreateEntity<T>where
T: Send,
impl<T> Sync for CreateEntity<T>where
T: Sync,
impl<T> Unpin for CreateEntity<T>where
T: Unpin,
impl<T> UnwindSafe for CreateEntity<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