pub struct MachineOptions {
pub group: Option<Group>,
pub hooks: Option<Arc<dyn MachineRoomHooks>>,
}Expand description
The opts argument of MachineRoom::connect and MachineRoom::join
(which takes no group).
Fields§
§group: Option<Group>§hooks: Option<Arc<dyn MachineRoomHooks>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MachineOptions
impl !UnwindSafe for MachineOptions
impl Forget for MachineOptions
impl Freeze for MachineOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupRef>: Freeze,
PhantomData<GroupMember>: Freeze,
*const ArcInner<dyn MachineRoomHooks> is !null: Freeze,
PhantomData<ArcInner<dyn MachineRoomHooks>>: Freeze,
impl Move for MachineOptions
impl Send for MachineOptions
impl Sync for MachineOptions
impl Unpin for MachineOptions
impl UnsafeUnpin for MachineOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupRef>: UnsafeUnpin,
PhantomData<GroupMember>: UnsafeUnpin,
*const ArcInner<dyn MachineRoomHooks> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn MachineRoomHooks>>: UnsafeUnpin,
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