pub enum LaneTarget {
Instrument(Symbol),
Stream(Symbol),
Control(Symbol),
None,
}Expand description
Destination a lane routes its events to.
The target restricts which LaneKinds may bind to a lane via
LaneDescriptor::new.
Variants§
Instrument(Symbol)
Routes to a named instrument.
Stream(Symbol)
Routes to a named stream.
Control(Symbol)
Routes to a named control surface.
None
Has no routing target.
Implementations§
Source§impl LaneTarget
impl LaneTarget
Sourcepub fn symbol(&self) -> Symbol
pub fn symbol(&self) -> Symbol
Returns the symbol naming this target, or a sentinel for LaneTarget::None.
Trait Implementations§
Source§impl Clone for LaneTarget
impl Clone for LaneTarget
Source§fn clone(&self) -> LaneTarget
fn clone(&self) -> LaneTarget
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 LaneTarget
impl Debug for LaneTarget
impl Eq for LaneTarget
Source§impl PartialEq for LaneTarget
impl PartialEq for LaneTarget
impl StructuralPartialEq for LaneTarget
Auto Trait Implementations§
impl Freeze for LaneTarget
impl RefUnwindSafe for LaneTarget
impl Send for LaneTarget
impl Sync for LaneTarget
impl Unpin for LaneTarget
impl UnsafeUnpin for LaneTarget
impl UnwindSafe for LaneTarget
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