Enum BackendBuilder

Source
pub enum BackendBuilder<'a> {
Show 33 variants AuthenticationOk(AuthenticationOkBuilder<'a>), AuthenticationKerberosV5(AuthenticationKerberosV5Builder<'a>), AuthenticationCleartextPassword(AuthenticationCleartextPasswordBuilder<'a>), AuthenticationMD5Password(AuthenticationMD5PasswordBuilder<'a>), AuthenticationGSS(AuthenticationGSSBuilder<'a>), AuthenticationGSSContinue(AuthenticationGSSContinueBuilder<'a>), AuthenticationSSPI(AuthenticationSSPIBuilder<'a>), AuthenticationSASL(AuthenticationSASLBuilder<'a>), AuthenticationSASLContinue(AuthenticationSASLContinueBuilder<'a>), AuthenticationSASLFinal(AuthenticationSASLFinalBuilder<'a>), BackendKeyData(BackendKeyDataBuilder<'a>), BindComplete(BindCompleteBuilder<'a>), CloseComplete(CloseCompleteBuilder<'a>), CommandComplete(CommandCompleteBuilder<'a>), CopyData(CopyDataBuilder<'a>), CopyDone(CopyDoneBuilder<'a>), CopyInResponse(CopyInResponseBuilder<'a>), CopyOutResponse(CopyOutResponseBuilder<'a>), CopyBothResponse(CopyBothResponseBuilder<'a>), DataRow(DataRowBuilder<'a>), EmptyQueryResponse(EmptyQueryResponseBuilder<'a>), ErrorResponse(ErrorResponseBuilder<'a>), FunctionCallResponse(FunctionCallResponseBuilder<'a>), NegotiateProtocolVersion(NegotiateProtocolVersionBuilder<'a>), NoData(NoDataBuilder<'a>), NoticeResponse(NoticeResponseBuilder<'a>), NotificationResponse(NotificationResponseBuilder<'a>), ParameterDescription(ParameterDescriptionBuilder<'a>), ParameterStatus(ParameterStatusBuilder<'a>), ParseComplete(ParseCompleteBuilder<'a>), PortalSuspended(PortalSuspendedBuilder<'a>), ReadyForQuery(ReadyForQueryBuilder<'a>), RowDescription(RowDescriptionBuilder<'a>),
}

Variants§

§

AuthenticationOk(AuthenticationOkBuilder<'a>)

§

AuthenticationKerberosV5(AuthenticationKerberosV5Builder<'a>)

§

AuthenticationCleartextPassword(AuthenticationCleartextPasswordBuilder<'a>)

§

AuthenticationMD5Password(AuthenticationMD5PasswordBuilder<'a>)

§

AuthenticationGSS(AuthenticationGSSBuilder<'a>)

§

AuthenticationGSSContinue(AuthenticationGSSContinueBuilder<'a>)

§

AuthenticationSSPI(AuthenticationSSPIBuilder<'a>)

§

AuthenticationSASL(AuthenticationSASLBuilder<'a>)

§

AuthenticationSASLContinue(AuthenticationSASLContinueBuilder<'a>)

§

AuthenticationSASLFinal(AuthenticationSASLFinalBuilder<'a>)

§

BackendKeyData(BackendKeyDataBuilder<'a>)

§

BindComplete(BindCompleteBuilder<'a>)

§

CloseComplete(CloseCompleteBuilder<'a>)

§

CommandComplete(CommandCompleteBuilder<'a>)

§

CopyData(CopyDataBuilder<'a>)

§

CopyDone(CopyDoneBuilder<'a>)

§

CopyInResponse(CopyInResponseBuilder<'a>)

§

CopyOutResponse(CopyOutResponseBuilder<'a>)

§

CopyBothResponse(CopyBothResponseBuilder<'a>)

§

DataRow(DataRowBuilder<'a>)

§

EmptyQueryResponse(EmptyQueryResponseBuilder<'a>)

§

ErrorResponse(ErrorResponseBuilder<'a>)

§

FunctionCallResponse(FunctionCallResponseBuilder<'a>)

§

NegotiateProtocolVersion(NegotiateProtocolVersionBuilder<'a>)

§

NoData(NoDataBuilder<'a>)

§

NoticeResponse(NoticeResponseBuilder<'a>)

§

NotificationResponse(NotificationResponseBuilder<'a>)

§

ParameterDescription(ParameterDescriptionBuilder<'a>)

§

ParameterStatus(ParameterStatusBuilder<'a>)

§

ParseComplete(ParseCompleteBuilder<'a>)

§

PortalSuspended(PortalSuspendedBuilder<'a>)

§

ReadyForQuery(ReadyForQueryBuilder<'a>)

§

RowDescription(RowDescriptionBuilder<'a>)

Implementations§

Source§

impl BackendBuilder<'_>

Source

pub fn to_vec(self) -> Vec<u8>

Trait Implementations§

Source§

impl<'a> Debug for BackendBuilder<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> From<AuthenticationCleartextPasswordBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationCleartextPasswordBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationGSSBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationGSSBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationGSSContinueBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationGSSContinueBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationKerberosV5Builder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationKerberosV5Builder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationMD5PasswordBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationMD5PasswordBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationOkBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationOkBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationSASLBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationSASLBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationSASLContinueBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationSASLContinueBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationSASLFinalBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationSASLFinalBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<AuthenticationSSPIBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: AuthenticationSSPIBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<BackendKeyDataBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: BackendKeyDataBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<BindCompleteBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: BindCompleteBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CloseCompleteBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CloseCompleteBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CommandCompleteBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CommandCompleteBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CopyBothResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CopyBothResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CopyDataBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CopyDataBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CopyDoneBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CopyDoneBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CopyInResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CopyInResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CopyOutResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: CopyOutResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<DataRowBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: DataRowBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<EmptyQueryResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: EmptyQueryResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ErrorResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: ErrorResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FunctionCallResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: FunctionCallResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NegotiateProtocolVersionBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: NegotiateProtocolVersionBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NoDataBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: NoDataBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NoticeResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: NoticeResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NotificationResponseBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: NotificationResponseBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ParameterDescriptionBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: ParameterDescriptionBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ParameterStatusBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: ParameterStatusBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ParseCompleteBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: ParseCompleteBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<PortalSuspendedBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: PortalSuspendedBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ReadyForQueryBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: ReadyForQueryBuilder<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<RowDescriptionBuilder<'a>> for BackendBuilder<'a>

Source§

fn from(message: RowDescriptionBuilder<'a>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a> Freeze for BackendBuilder<'a>

§

impl<'a> RefUnwindSafe for BackendBuilder<'a>

§

impl<'a> Send for BackendBuilder<'a>

§

impl<'a> Sync for BackendBuilder<'a>

§

impl<'a> Unpin for BackendBuilder<'a>

§

impl<'a> UnwindSafe for BackendBuilder<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.