pub struct PublishEvent<T: SessionTrait> { /* private fields */ }
Implementations§
Source§impl<T> PublishEvent<T>where
T: SessionTrait,
impl<T> PublishEvent<T>where
T: SessionTrait,
pub fn with_auxiliary(self, value: Entity) -> Self
pub fn with_ancillary(self, value: Entity) -> Self
pub fn with_method(self, value: Method) -> Self
pub fn with_attribute(self, value: Attribute) -> Self
pub fn with_instance(self, value: i32) -> Self
pub fn with_offset(self, value: i32) -> Self
pub fn with_name(self, value: String255) -> Self
pub fn with_key(self, value: String255) -> Self
pub fn with_parameter(self, value: i64) -> Self
pub fn with_resultant(self, value: i64) -> Self
pub fn with_index(self, value: i64) -> Self
pub fn with_count(self, value: i64) -> Self
pub fn with_aspect(self, value: Aspect) -> 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_state(self, value: State) -> Self
pub fn with_condition(self, value: Condition) -> Self
pub fn with_precedence(self, value: u16) -> Self
pub fn with_value(self, value: &Value) -> Self
pub fn with_time(self, value: OffsetDateTime) -> Self
pub fn with_timeout(self, value: i64) -> Self
Trait Implementations§
Source§impl IntoFuture for PublishEvent<SessionAsync>
impl IntoFuture for PublishEvent<SessionAsync>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<(), CallError>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<(), CallError>> + Send>>
Which kind of future are we turning this into?
Source§type Output = <<PublishEvent<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<PublishEvent<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 PublishEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for PublishEvent<T>where
T: RefUnwindSafe,
impl<T> Send for PublishEvent<T>where
T: Send,
impl<T> Sync for PublishEvent<T>where
T: Sync,
impl<T> Unpin for PublishEvent<T>where
T: Unpin,
impl<T> UnwindSafe for PublishEvent<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