pub struct NodeBuilder { /* private fields */ }Expand description
Creates a Node.
use iceoryx2::prelude::*;
let node = NodeBuilder::new()
.name(&"my_little_node".try_into()?)
.create::<ipc::Service>()?;
// do things with your cool new nodeImplementations§
Source§impl NodeBuilder
impl NodeBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new NodeBuilder
Sourcepub fn signal_handling_mode(self, value: SignalHandlingMode) -> Self
pub fn signal_handling_mode(self, value: SignalHandlingMode) -> Self
Defines the SignalHandlingMode for the Node. It affects the Node::wait() call
that returns any received Signal via its
NodeWaitFailure
Sourcepub fn create<Service: Service>(
self,
) -> Result<Node<Service>, NodeCreationFailure>
pub fn create<Service: Service>( self, ) -> Result<Node<Service>, NodeCreationFailure>
Creates a new Node for a specific service::Service. All entities owned by the
Node will have the same service::Service.
Trait Implementations§
Source§impl Clone for NodeBuilder
impl Clone for NodeBuilder
Source§fn clone(&self) -> NodeBuilder
fn clone(&self) -> NodeBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeBuilder
impl Debug for NodeBuilder
Source§impl Default for NodeBuilder
impl Default for NodeBuilder
Source§fn default() -> NodeBuilder
fn default() -> NodeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeBuilder
impl RefUnwindSafe for NodeBuilder
impl Send for NodeBuilder
impl Sync for NodeBuilder
impl Unpin for NodeBuilder
impl UnsafeUnpin for NodeBuilder
impl UnwindSafe for NodeBuilder
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