Struct PublishEvent

Source
pub struct PublishEvent<T: SessionTrait> { /* private fields */ }

Implementations§

Source§

impl PublishEvent<Session>

Source

pub fn call(self) -> Result<(), CallError>

Source§

impl<T> PublishEvent<T>
where T: SessionTrait,

Source

pub fn with_auxiliary(self, value: Entity) -> Self

Source

pub fn with_ancillary(self, value: Entity) -> Self

Source

pub fn with_method(self, value: Method) -> Self

Source

pub fn with_attribute(self, value: Attribute) -> Self

Source

pub fn with_instance(self, value: i32) -> Self

Source

pub fn with_offset(self, value: i32) -> Self

Source

pub fn with_name(self, value: String255) -> Self

Source

pub fn with_key(self, value: String255) -> Self

Source

pub fn with_parameter(self, value: i64) -> Self

Source

pub fn with_resultant(self, value: i64) -> Self

Source

pub fn with_index(self, value: i64) -> Self

Source

pub fn with_count(self, value: i64) -> Self

Source

pub fn with_aspect(self, value: Aspect) -> Self

Source

pub fn with_context(self, value: Context) -> Self

Source

pub fn with_category(self, value: Category) -> Self

Source

pub fn with_class(self, value: Class) -> Self

Source

pub fn with_mode(self, value: Mode) -> Self

Source

pub fn with_state(self, value: State) -> Self

Source

pub fn with_condition(self, value: Condition) -> Self

Source

pub fn with_precedence(self, value: u16) -> Self

Source

pub fn with_value(self, value: &Value) -> Self

Source

pub fn with_time(self, value: OffsetDateTime) -> Self

Source

pub fn with_timeout(self, value: i64) -> Self

Source

pub fn with_authority(self, value: Token) -> Self

Trait Implementations§

Source§

impl IntoFuture for PublishEvent<SessionAsync>

Source§

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

The output that the future will produce on completion.
Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V