Skip to main content

LoadingPlaceholder

Struct LoadingPlaceholder 

Source
pub struct LoadingPlaceholder<'a> { /* private fields */ }
Expand description

페이지가 로드되기 전 내부 컨텐츠가 로드될 위치의 자리 표시자

이 엘리먼트는 최초 로드 전 컨텐츠가 로드될 위치를 표시하기 위한 엘리먼트입니다. LoadingPlaceholder.Load 이벤트가 전송되면 사라지고, 이 엘리먼트가 있는 위치에 실제 페이지가 렌더링됩니다.

로드 이벤트가 전송되어 페이지가 렌더링되기 위해서는 CustomClientInspector 엘리먼트의 클라이언트 데이터가 전송되어야 합니다.

Implementations§

Source§

impl<'a> LoadingPlaceholder<'a>

Source

pub fn new(id: Cow<'static, str>, element_ref: ElementRef<'a>) -> Self

Creates a new element from an id and element reference.

Source§

impl<'a> LoadingPlaceholder<'a>

Source

pub fn load(&self) -> Result<Event, WebDynproError>

페이지를 로드하기 위한 이벤트를 반환합니다.

Trait Implementations§

Source§

impl<'a> Element<'a> for LoadingPlaceholder<'a>

Source§

const CONTROL_ID: &'static str = "LP"

WebDynpro 상에서 사용하는 엘리먼트의 Id
Source§

const ELEMENT_NAME: &'static str = "LoadingPlaceHolder"

WebDynpro 상에서 사용하는 엘리먼트의 이름
Source§

type ElementLSData = LoadingPlaceholderLSData

엘리먼트의 LSData
Source§

type Def = LoadingPlaceholderDef

엘리먼트의 정의
Source§

fn lsdata(&self) -> &Self::ElementLSData

엘리먼트의 LSData를 가져옵니다.
Source§

fn from_ref( element_def: &impl ElementDefinition<'a>, element: ElementRef<'a>, ) -> Result<Self, WebDynproError>

엘리먼트 정의와 ElementRef에서 엘리먼트를 가져옵니다.
Source§

fn id(&self) -> &str

엘리먼트의 Id를 가져옵니다.
Source§

fn element_ref(&self) -> &ElementRef<'a>

엘리먼트의 ElementRef를 가져옵니다.
Source§

fn wrap(self) -> ElementWrapper<'a>

엘리먼트를 ElementWrapper로 감쌉니다.
Source§

fn children(&self) -> Vec<ElementWrapper<'a>>

엘리먼트의 자식 엘리먼트를 가져옵니다.
Source§

impl<'a> Interactable<'a> for LoadingPlaceholder<'a>

Source§

fn lsevents(&self) -> Option<&EventParameterMap>

주어진 엘리먼트의 이벤트 데이터를 반환합니다.
Source§

unsafe fn fire_event_unchecked( event: String, parameters: HashMap<String, String>, ucf_params: UcfParameters, custom_params: HashMap<String, String>, ) -> Event

엘리먼트가 이벤트를 발생시킬 수 있는가와 관계 없이 이벤트를 발생시킵니다. Read more
Source§

fn event_parameter( &self, event: &str, ) -> Result<&(UcfParameters, HashMap<String, String>), ElementError>

엘리먼트의 주어진 이벤트에 대한 파라메터들을 가져옵니다.
Source§

fn fire_event( &self, event: String, parameters: HashMap<String, String>, ) -> Result<Event, WebDynproError>

엘리먼트의 주어진 이벤트를 발생시킵니다.
Source§

impl<'a> TryFrom<ElementWrapper<'a>> for LoadingPlaceholder<'a>

Source§

type Error = BodyError

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

fn try_from( wrapper: ElementWrapper<'a>, ) -> Result<LoadingPlaceholder<'a>, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<'a> !Freeze for LoadingPlaceholder<'a>

§

impl<'a> !RefUnwindSafe for LoadingPlaceholder<'a>

§

impl<'a> !Send for LoadingPlaceholder<'a>

§

impl<'a> !Sync for LoadingPlaceholder<'a>

§

impl<'a> Unpin for LoadingPlaceholder<'a>

§

impl<'a> UnsafeUnpin for LoadingPlaceholder<'a>

§

impl<'a> !UnwindSafe for LoadingPlaceholder<'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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more