columnar::common

Trait Push

Source
pub trait Push<T> {
    // Required method
    fn push(&mut self, item: T);

    // Provided method
    fn extend(&mut self, iter: impl IntoIterator<Item = T>) { ... }
}
Expand description

A type that can accept items of type T.

Required Methods§

Source

fn push(&mut self, item: T)

Pushes an item onto self.

Provided Methods§

Source

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, AA, A: Push<&'a AA>> Push<&'a (AA,)> for (A,)

Source§

fn push(&mut self, item: &'a (AA,))

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>> Push<&'a (AA, BB)> for (A, B)

Source§

fn push(&mut self, item: &'a (AA, BB))

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>> Push<&'a (AA, BB, CC)> for (A, B, C)

Source§

fn push(&mut self, item: &'a (AA, BB, CC))

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>> Push<&'a (AA, BB, CC, DD)> for (A, B, C, D)

Source§

fn push(&mut self, item: &'a (AA, BB, CC, DD))

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>> Push<&'a (AA, BB, CC, DD, EE)> for (A, B, C, D, E)

Source§

fn push(&mut self, item: &'a (AA, BB, CC, DD, EE))

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>> Push<&'a (AA, BB, CC, DD, EE, FF)> for (A, B, C, D, E, F)

Source§

fn push(&mut self, item: &'a (AA, BB, CC, DD, EE, FF))

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>> Push<&'a (AA, BB, CC, DD, EE, FF, GG)> for (A, B, C, D, E, F, G)

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>, HH, H: Push<&'a HH>> Push<&'a (AA, BB, CC, DD, EE, FF, GG, HH)> for (A, B, C, D, E, F, G, H)

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>, HH, H: Push<&'a HH>, II, I: Push<&'a II>> Push<&'a (AA, BB, CC, DD, EE, FF, GG, HH, II)> for (A, B, C, D, E, F, G, H, I)

Source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>, HH, H: Push<&'a HH>, II, I: Push<&'a II>, JJ, J: Push<&'a JJ>> Push<&'a (AA, BB, CC, DD, EE, FF, GG, HH, II, JJ)> for (A, B, C, D, E, F, G, H, I, J)

Source§

impl<'a, T: Clone> Push<&'a [T]> for Vec<T>

Source§

fn push(&mut self, item: &'a [T])

Source§

impl<'a, T: Clone> Push<&'a T> for Vec<T>

Source§

fn push(&mut self, item: &'a T)

Source§

fn extend(&mut self, iter: impl IntoIterator<Item = &'a T>)

Source§

impl<AA, A: Push<AA>> Push<(AA,)> for (A,)

Source§

fn push(&mut self, item: (AA,))

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>> Push<(AA, BB)> for (A, B)

Source§

fn push(&mut self, item: (AA, BB))

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>> Push<(AA, BB, CC)> for (A, B, C)

Source§

fn push(&mut self, item: (AA, BB, CC))

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>> Push<(AA, BB, CC, DD)> for (A, B, C, D)

Source§

fn push(&mut self, item: (AA, BB, CC, DD))

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>> Push<(AA, BB, CC, DD, EE)> for (A, B, C, D, E)

Source§

fn push(&mut self, item: (AA, BB, CC, DD, EE))

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>> Push<(AA, BB, CC, DD, EE, FF)> for (A, B, C, D, E, F)

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>> Push<(AA, BB, CC, DD, EE, FF, GG)> for (A, B, C, D, E, F, G)

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>, HH, H: Push<HH>> Push<(AA, BB, CC, DD, EE, FF, GG, HH)> for (A, B, C, D, E, F, G, H)

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>, HH, H: Push<HH>, II, I: Push<II>> Push<(AA, BB, CC, DD, EE, FF, GG, HH, II)> for (A, B, C, D, E, F, G, H, I)

Source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>, HH, H: Push<HH>, II, I: Push<II>, JJ, J: Push<JJ>> Push<(AA, BB, CC, DD, EE, FF, GG, HH, II, JJ)> for (A, B, C, D, E, F, G, H, I, J)

Source§

impl<T> Push<T> for Vec<T>

Source§

fn push(&mut self, item: T)

Source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Implementors§

Source§

impl Push<&isize> for Isizes

Source§

impl Push<&()> for Empties

Source§

impl Push<&usize> for Usizes

Source§

impl Push<Json> for Jsons

Source§

impl Push<isize> for Isizes

Source§

impl Push<()> for Empties

Source§

impl Push<usize> for Usizes

Source§

impl<'a> Push<&'a Json> for Jsons

Source§

impl<'a, S, SC: Push<&'a S>, T, TC: Push<&'a T>> Push<&'a Result<S, T>> for Results<SC, TC>

Source§

impl<'a, SC: Push<&'a u64>, NC: Push<&'a u32>> Push<(&'a u64, &'a u32)> for Durations<SC, NC>

Source§

impl<'a, SC: Push<u64>, NC: Push<u32>> Push<&'a Duration> for Durations<SC, NC>

Source§

impl<'a, T, TC: Push<&'a T> + Len> Push<&'a Option<T>> for Options<TC>

Source§

impl<'a, T, TC: Push<&'a T> + Len> Push<&'a [T]> for Vecs<TC>

Source§

impl<'a, T, TC: Push<&'a T> + Len> Push<&'a Vec<T>> for Vecs<TC>

Source§

impl<'a, VC: Push<u64>> Push<&'a bool> for Bools<VC>

Source§

impl<BC: Push<u64>> Push<&str> for Strings<BC>

Source§

impl<BC: Push<u64>> Push<&String> for Strings<BC>

Source§

impl<S, SC: Push<S>, T, TC: Push<T>> Push<Result<S, T>> for Results<SC, TC>

Source§

impl<SC: Push<u64>, NC: Push<u32>> Push<Duration> for Durations<SC, NC>

Source§

impl<T, TC: Push<T> + Len> Push<Option<T>> for Options<TC>

Source§

impl<T: PartialEq, TC: Push<T> + Len, VC: Push<u8>, const N: u8> Push<T> for Lookbacks<TC, VC, N>
where for<'a> &'a TC: Index, for<'a> <&'a TC as Index>::Ref: PartialEq<T>,

Source§

impl<T: PartialEq, TC: Push<T> + Len, const N: u8> Push<T> for Repeats<TC, N>
where for<'a> &'a TC: Index, for<'a> <&'a TC as Index>::Ref: PartialEq<T>,

Source§

impl<TC: Push<TC2::Ref> + Len, TC2: Index> Push<Slice<TC2>> for Vecs<TC>

Source§

impl<VC: Push<u64>> Push<bool> for Bools<VC>

impl<'columnar> Push<&'columnar CommChannelKind> for CommChannelKindContainer

impl<'columnar> Push<&'columnar StartStop> for StartStopContainer

impl<'columnar, C0> Push<&'columnar GuardedMessageEvent> for GuardedMessageEventContainer<C0>
where C0: Push<&'columnar bool>,

impl<'columnar, C0> Push<&'columnar GuardedProgressEvent> for GuardedProgressEventContainer<C0>
where C0: Push<&'columnar bool>,

impl<'columnar, C0> Push<&'columnar InputEvent> for InputEventContainer<C0>
where C0: Push<&'columnar StartStop>,

impl<'columnar, C0> Push<&'columnar PushProgressEvent> for PushProgressEventContainer<C0>
where C0: Push<&'columnar usize>,

impl<'columnar, C0> Push<&'columnar ShutdownEvent> for ShutdownEventContainer<C0>
where C0: Push<&'columnar usize>,

impl<'columnar, C0> Push<&'columnar TimelySetup> for TimelySetupContainer<C0>
where C0: Push<&'columnar usize>,

impl<'columnar, C0, C1> Push<&'columnar ParkEvent> for ParkEventContainer<C0, C1>
where C0: Len + Push<&'columnar Option<Duration>>, C1: Len + Push<()>,

impl<'columnar, C0, C1> Push<&'columnar Port> for PortContainer<C0, C1>
where C0: Len + Push<&'columnar usize>, C1: Len + Push<&'columnar usize>,

impl<'columnar, C0, C1> Push<&'columnar ApplicationEvent> for ApplicationEventContainer<C0, C1>
where C0: Push<&'columnar usize>, C1: Push<&'columnar bool>,

impl<'columnar, C0, C1> Push<&'columnar CommChannelsEvent> for CommChannelsEventContainer<C0, C1>
where C0: Push<&'columnar usize>, C1: Push<&'columnar CommChannelKind>,

impl<'columnar, C0, C1> Push<&'columnar ScheduleEvent> for ScheduleEventContainer<C0, C1>
where C0: Push<&'columnar usize>, C1: Push<&'columnar StartStop>,

impl<'columnar, C0, C1> Push<&'columnar Location> for LocationContainer<C0, C1>
where C0: Push<&'columnar usize>, C1: Push<&'columnar Port>,

impl<'columnar, C0, C1, C2> Push<&'columnar OperatesEvent> for OperatesEventContainer<C0, C1, C2>
where C0: Push<&'columnar usize>, C1: Push<&'columnar Vec<usize>>, C2: Push<&'columnar String>,

impl<'columnar, C0, C1, C2, C3> Push<&'columnar ChannelsEvent> for ChannelsEventContainer<C0, C1, C2, C3>
where C0: Push<&'columnar usize>, C1: Push<&'columnar Vec<usize>>, C2: Push<&'columnar (usize, usize)>, C3: Push<&'columnar (usize, usize)>,

impl<'columnar, C0, C1, C2, C3, C4, C5> Push<&'columnar MessagesEvent> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
where C0: Push<&'columnar bool>, C1: Push<&'columnar usize>, C2: Push<&'columnar usize>, C3: Push<&'columnar usize>, C4: Push<&'columnar usize>, C5: Push<&'columnar usize>,

impl<'columnar, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12> Push<&'columnar TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12>
where C0: Len + Push<&'columnar OperatesEvent>, C1: Len + Push<&'columnar ChannelsEvent>, C2: Len + Push<&'columnar PushProgressEvent>, C3: Len + Push<&'columnar MessagesEvent>, C4: Len + Push<&'columnar ScheduleEvent>, C5: Len + Push<&'columnar ShutdownEvent>, C6: Len + Push<&'columnar ApplicationEvent>, C7: Len + Push<&'columnar GuardedMessageEvent>, C8: Len + Push<&'columnar GuardedProgressEvent>, C9: Len + Push<&'columnar CommChannelsEvent>, C10: Len + Push<&'columnar InputEvent>, C11: Len + Push<&'columnar ParkEvent>, C12: Len + Push<&'columnar String>,

impl<'columnar, T, C, C0, C1> Push<&'columnar Event<T, C>> for EventContainer<C0, C1>
where C0: Len + Push<&'columnar Vec<(T, i64)>>, C1: Len + Push<(&'columnar T, &'columnar C)>,

impl<C0> Push<InputEvent> for InputEventContainer<C0>
where C0: Push<StartStop>,

impl<C0> Push<ShutdownEvent> for ShutdownEventContainer<C0>
where C0: Push<usize>,

impl<C0> Push<TimelySetup> for TimelySetupContainer<C0>
where C0: Push<usize>,

impl<C0, C1> Push<ParkEvent> for ParkEventContainer<C0, C1>
where C0: Len + Push<Option<Duration>>, C1: Len + Push<()>,

impl<C0, C1> Push<Port> for PortContainer<C0, C1>
where C0: Len + Push<usize>, C1: Len + Push<usize>,

impl<C0, C1> Push<ApplicationEvent> for ApplicationEventContainer<C0, C1>
where C0: Push<usize>, C1: Push<bool>,

impl<C0, C1> Push<ScheduleEvent> for ScheduleEventContainer<C0, C1>
where C0: Push<usize>, C1: Push<StartStop>,

impl<C0, C1> Push<Location> for LocationContainer<C0, C1>
where C0: Push<usize>, C1: Push<Port>,

impl<C0, C1, C2> Push<OperatesEvent> for OperatesEventContainer<C0, C1, C2>
where C0: Push<usize>, C1: Push<Vec<usize>>, C2: Push<String>,

impl<C0, C1, C2, C3> Push<ChannelsEvent> for ChannelsEventContainer<C0, C1, C2, C3>
where C0: Push<usize>, C1: Push<Vec<usize>>, C2: Push<(usize, usize)>, C3: Push<(usize, usize)>,

impl<C0, C1, C2, C3, C4, C5> Push<MessagesEvent> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
where C0: Push<bool>, C1: Push<usize>, C2: Push<usize>, C3: Push<usize>, C4: Push<usize>, C5: Push<usize>,

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12> Push<TimelyEvent> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12>

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12> Push<TimelyEventReference<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12>> for TimelyEventContainer<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12>
where C0: Len + Push<R0>, C1: Len + Push<R1>, C2: Len + Push<R2>, C3: Len + Push<R3>, C4: Len + Push<R4>, C5: Len + Push<R5>, C6: Len + Push<R6>, C7: Len + Push<R7>, C8: Len + Push<R8>, C9: Len + Push<R9>, C10: Len + Push<R10>, C11: Len + Push<R11>, C12: Len + Push<R12>,

impl<C0, C1, C2, C3, C4, C5, R0, R1, R2, R3, R4, R5> Push<MessagesEventReference<R0, R1, R2, R3, R4, R5>> for MessagesEventContainer<C0, C1, C2, C3, C4, C5>
where C0: Push<R0>, C1: Push<R1>, C2: Push<R2>, C3: Push<R3>, C4: Push<R4>, C5: Push<R5>,

impl<C0, C1, C2, C3, R0, R1, R2, R3> Push<ChannelsEventReference<R0, R1, R2, R3>> for ChannelsEventContainer<C0, C1, C2, C3>
where C0: Push<R0>, C1: Push<R1>, C2: Push<R2>, C3: Push<R3>,

impl<C0, C1, C2, R0, R1, R2> Push<OperatesEventReference<R0, R1, R2>> for OperatesEventContainer<C0, C1, C2>
where C0: Push<R0>, C1: Push<R1>, C2: Push<R2>,

impl<C0, C1, R0, R1> Push<EventReference<R0, R1>> for EventContainer<C0, C1>
where C0: Len + Push<R0>, C1: Len + Push<R1>,

impl<C0, C1, R0, R1> Push<ParkEventReference<R0, R1>> for ParkEventContainer<C0, C1>
where C0: Len + Push<R0>, C1: Len + Push<R1>,

impl<C0, C1, R0, R1> Push<PortReference<R0, R1>> for PortContainer<C0, C1>
where C0: Len + Push<R0>, C1: Len + Push<R1>,

impl<C0, C1, R0, R1> Push<ApplicationEventReference<R0, R1>> for ApplicationEventContainer<C0, C1>
where C0: Push<R0>, C1: Push<R1>,

impl<C0, C1, R0, R1> Push<CommChannelsEventReference<R0, R1>> for CommChannelsEventContainer<C0, C1>
where C0: Push<R0>, C1: Push<R1>,

impl<C0, C1, R0, R1> Push<ScheduleEventReference<R0, R1>> for ScheduleEventContainer<C0, C1>
where C0: Push<R0>, C1: Push<R1>,

impl<C0, C1, R0, R1> Push<LocationReference<R0, R1>> for LocationContainer<C0, C1>
where C0: Push<R0>, C1: Push<R1>,

impl<C0, R0> Push<GuardedMessageEventReference<R0>> for GuardedMessageEventContainer<C0>
where C0: Push<R0>,

impl<C0, R0> Push<InputEventReference<R0>> for InputEventContainer<C0>
where C0: Push<R0>,

impl<C0, R0> Push<PushProgressEventReference<R0>> for PushProgressEventContainer<C0>
where C0: Push<R0>,

impl<C0, R0> Push<ShutdownEventReference<R0>> for ShutdownEventContainer<C0>
where C0: Push<R0>,

impl<C0, R0> Push<TimelySetupReference<R0>> for TimelySetupContainer<C0>
where C0: Push<R0>,

impl<T, C, C0, C1> Push<Event<T, C>> for EventContainer<C0, C1>
where C0: Len + Push<Vec<(T, i64)>>, C1: Len + Push<(T, C)>,

impl<'columnar, C0, C1> Push<&'columnar MessageEvent> for MessageEventContainer<C0, C1>
where C0: Push<&'columnar bool>, C1: Push<&'columnar MessageHeader>,

impl<'columnar, C0, C1, C2> Push<&'columnar CommunicationEvent> for CommunicationEventContainer<C0, C1, C2>
where C0: Len + Push<&'columnar MessageEvent>, C1: Len + Push<&'columnar StateEvent>, C2: Len + Push<&'columnar CommunicationSetup>,

impl<'columnar, C0, C1, C2> Push<&'columnar CommunicationSetup> for CommunicationSetupContainer<C0, C1, C2>
where C0: Push<&'columnar bool>, C1: Push<&'columnar usize>, C2: Push<&'columnar Option<usize>>,

impl<'columnar, C0, C1, C2, C3> Push<&'columnar StateEvent> for StateEventContainer<C0, C1, C2, C3>
where C0: Push<&'columnar bool>, C1: Push<&'columnar usize>, C2: Push<&'columnar usize>, C3: Push<&'columnar bool>,

impl<'columnar, C0, C1, C2, C3, C4> Push<&'columnar MessageHeader> for MessageHeaderContainer<C0, C1, C2, C3, C4>
where C0: Push<&'columnar usize>, C1: Push<&'columnar usize>, C2: Push<&'columnar usize>, C3: Push<&'columnar usize>, C4: Push<&'columnar usize>,

impl<C0, C1> Push<MessageEvent> for MessageEventContainer<C0, C1>
where C0: Push<bool>, C1: Push<MessageHeader>,

impl<C0, C1, C2> Push<CommunicationEvent> for CommunicationEventContainer<C0, C1, C2>

impl<C0, C1, C2> Push<CommunicationSetup> for CommunicationSetupContainer<C0, C1, C2>
where C0: Push<bool>, C1: Push<usize>, C2: Push<Option<usize>>,

impl<C0, C1, C2, C3> Push<StateEvent> for StateEventContainer<C0, C1, C2, C3>
where C0: Push<bool>, C1: Push<usize>, C2: Push<usize>, C3: Push<bool>,

impl<C0, C1, C2, C3, C4> Push<MessageHeader> for MessageHeaderContainer<C0, C1, C2, C3, C4>
where C0: Push<usize>, C1: Push<usize>, C2: Push<usize>, C3: Push<usize>, C4: Push<usize>,

impl<C0, C1, C2, C3, C4, R0, R1, R2, R3, R4> Push<MessageHeaderReference<R0, R1, R2, R3, R4>> for MessageHeaderContainer<C0, C1, C2, C3, C4>
where C0: Push<R0>, C1: Push<R1>, C2: Push<R2>, C3: Push<R3>, C4: Push<R4>,

impl<C0, C1, C2, C3, R0, R1, R2, R3> Push<StateEventReference<R0, R1, R2, R3>> for StateEventContainer<C0, C1, C2, C3>
where C0: Push<R0>, C1: Push<R1>, C2: Push<R2>, C3: Push<R3>,

impl<C0, C1, C2, R0, R1, R2> Push<CommunicationEventReference<R0, R1, R2>> for CommunicationEventContainer<C0, C1, C2>
where C0: Len + Push<R0>, C1: Len + Push<R1>, C2: Len + Push<R2>,

impl<C0, C1, C2, R0, R1, R2> Push<CommunicationSetupReference<R0, R1, R2>> for CommunicationSetupContainer<C0, C1, C2>
where C0: Push<R0>, C1: Push<R1>, C2: Push<R2>,

impl<C0, C1, R0, R1> Push<MessageEventReference<R0, R1>> for MessageEventContainer<C0, C1>
where C0: Push<R0>, C1: Push<R1>,