Enum cloudwatch_logs_upload::Error
source · pub enum Error {
EventTooLarge(usize),
PutLogsError(RusotoError<PutLogEventsError>),
SequenceTokenError(RusotoError<DescribeLogStreamsError>),
InvalidLogStream,
PoisonedLock,
ThreadAlreadyStarted,
SpawnError(Error),
}
Expand description
Unified event type for upload errors.
Variants§
EventTooLarge(usize)
Event message string is larger than 1,048,550 bytes.
PutLogsError(RusotoError<PutLogEventsError>)
An API error was returned when trying to upload a batch.
SequenceTokenError(RusotoError<DescribeLogStreamsError>)
An API error was returned when trying to get the log stream upload sequence token.
InvalidLogStream
The log stream does not exist.
PoisonedLock
An internal mutex error occurred.
ThreadAlreadyStarted
The background upload thread can only be started once.
SpawnError(Error)
Failed to start the background upload thread.
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<RusotoError<DescribeLogStreamsError>> for Error
impl From<RusotoError<DescribeLogStreamsError>> for Error
source§fn from(source: RusotoError<DescribeLogStreamsError>) -> Self
fn from(source: RusotoError<DescribeLogStreamsError>) -> Self
Converts to this type from the input type.
source§impl From<RusotoError<PutLogEventsError>> for Error
impl From<RusotoError<PutLogEventsError>> for Error
source§fn from(source: RusotoError<PutLogEventsError>) -> Self
fn from(source: RusotoError<PutLogEventsError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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