[][src]Struct kineasy::shard::KinesisShard

pub struct KinesisShard { /* fields omitted */ }

Methods

impl KinesisShard[src]

pub fn new(
    region: Region,
    stream: String,
    shard_id: String,
    seq_number: Option<String>,
    timestamp: Option<String>,
    iterator_type: ShardIterator,
    running: Arc<RwLock<bool>>
) -> Self
[src]

pub fn from_timestamp(
    region: Region,
    stream: String,
    shard_id: String,
    timestamp: String,
    running: Arc<RwLock<bool>>
) -> Self
[src]

pub fn from_sequence(
    region: Region,
    stream: String,
    shard_id: String,
    seq_number: String,
    running: Arc<RwLock<bool>>
) -> Self
[src]

pub fn from_trim_horizon(
    region: Region,
    stream: String,
    shard_id: String,
    running: Arc<RwLock<bool>>
) -> Self
[src]

pub fn from_latest(
    region: Region,
    stream: String,
    shard_id: String,
    running: Arc<RwLock<bool>>
) -> Self
[src]

Trait Implementations

impl Clone for KinesisShard[src]

impl Stream for KinesisShard[src]

type Item = GetRecordsOutput

Values yielded by the stream.

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]