pub struct RouteInfo {
pub id: RouteId,
pub type_id: TypeId,
pub default_topic: Arc<str>,
pub record_index: usize,
pub config: ConnectorConfig,
pub topic_capacity: usize,
pub payload_capacity: usize,
}Expand description
One outbound route, for parsing per-route configuration once at build.
Fields§
§id: RouteIdDense index, 0..routes().len().
type_id: TypeIdTypeId of the record the link belongs to.
default_topic: Arc<str>The topic from the link URL, used when no topic is written.
record_index: usizeIndex of the record the link belongs to, in registration order (the
record’s RecordId). Set by core, never from the link’s query.
config: ConnectorConfigThe link’s configuration.
topic_capacity: usizeLongest topic the link’s writer produces; 0 without a writer.
payload_capacity: usizeScratch for with_serializer_into; 0 with an owned serializer only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteInfo
impl RefUnwindSafe for RouteInfo
impl Send for RouteInfo
impl Sync for RouteInfo
impl Unpin for RouteInfo
impl UnsafeUnpin for RouteInfo
impl UnwindSafe for RouteInfo
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