pub struct Options {
pub identifier: String,
pub label: Label,
pub token: String,
pub controller_affinity: bool,
}Expand description
Parameters for joining the bus.
Fields§
§identifier: StringIdentifier for the bus, e.g. com.myapp.
label: LabelThe label of the endpoint through which messages can be routed to the endpoint..
token: StringSecturity token.
controller_affinity: boolWhether the endpoint can become a bus controller.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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