Enum FrontendBuilder

Source
pub enum FrontendBuilder<'a> {
Show 17 variants Bind(BindBuilder<'a>), Close(CloseBuilder<'a>), CopyData(CopyDataBuilder<'a>), CopyDone(CopyDoneBuilder<'a>), CopyFail(CopyFailBuilder<'a>), Describe(DescribeBuilder<'a>), Execute(ExecuteBuilder<'a>), Flush(FlushBuilder<'a>), FunctionCall(FunctionCallBuilder<'a>), GSSResponse(GSSResponseBuilder<'a>), Parse(ParseBuilder<'a>), PasswordMessage(PasswordMessageBuilder<'a>), Query(QueryBuilder<'a>), SASLInitialResponse(SASLInitialResponseBuilder<'a>), SASLResponse(SASLResponseBuilder<'a>), Sync(SyncBuilder<'a>), Terminate(TerminateBuilder<'a>),
}

Variants§

§

Bind(BindBuilder<'a>)

§

Close(CloseBuilder<'a>)

§

CopyData(CopyDataBuilder<'a>)

§

CopyDone(CopyDoneBuilder<'a>)

§

CopyFail(CopyFailBuilder<'a>)

§

Describe(DescribeBuilder<'a>)

§

Execute(ExecuteBuilder<'a>)

§

Flush(FlushBuilder<'a>)

§

FunctionCall(FunctionCallBuilder<'a>)

§

GSSResponse(GSSResponseBuilder<'a>)

§

Parse(ParseBuilder<'a>)

§

PasswordMessage(PasswordMessageBuilder<'a>)

§

Query(QueryBuilder<'a>)

§

SASLInitialResponse(SASLInitialResponseBuilder<'a>)

§

SASLResponse(SASLResponseBuilder<'a>)

§

Sync(SyncBuilder<'a>)

§

Terminate(TerminateBuilder<'a>)

Implementations§

Source§

impl FrontendBuilder<'_>

Source

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

Trait Implementations§

Source§

impl<'a> Debug for FrontendBuilder<'a>

Source§

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

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

impl<'a> From<BindBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<CloseBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<CopyFailBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<DescribeBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<ExecuteBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<FlushBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<FunctionCallBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<GSSResponseBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<ParseBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<PasswordMessageBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<QueryBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<SASLInitialResponseBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<SASLResponseBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<SyncBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.
Source§

impl<'a> From<TerminateBuilder<'a>> for FrontendBuilder<'a>

Source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a> Freeze for FrontendBuilder<'a>

§

impl<'a> RefUnwindSafe for FrontendBuilder<'a>

§

impl<'a> Send for FrontendBuilder<'a>

§

impl<'a> Sync for FrontendBuilder<'a>

§

impl<'a> Unpin for FrontendBuilder<'a>

§

impl<'a> UnwindSafe for FrontendBuilder<'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.